Hello,
I am observing a flickering of buttons because it seems that the button styles of ButtonComponent are applied to late, even in production mode (nextjs).
CSS is loaded via HTML <head>, i.e. it is present on initial rendering by the browser but I guess the button's CSS class is not set before button scripts are executed? I am using nextjs with server-side rendering.
How can I prevent the flickering?
Code:
<ButtonComponent iconCss='e-icons e-add-new-icon'>
Button text
</ButtonComponent>
Regards,
Steffen