-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Calendar repositions it's months after first render #7
Comments
Same happens to me. Any solutions? |
I changed CSS month positioning to use display: flex and this problem is gone for now. It could break something else however. |
@Suntechnick which CSS selector for the month you used? can you share the code? |
Something like that should do it. Include these on top of the library styles. |
Using the official example from codepen: https://codepen.io/Paul-DS/pen/wOpyNq
After the initial render for a few moments calendar is displayed like this:
![Screenshot 2020-04-17 at 10 42 22](https://user-images.githubusercontent.com/30172623/79544862-58b71800-8098-11ea-85da-42a93fe1df37.png)
And then it rerenders to desired result:
![Screenshot 2020-04-17 at 10 42 35](https://user-images.githubusercontent.com/30172623/79544921-72f0f600-8098-11ea-8723-64920de74ee6.png)
Is there any way to avoid this transition?
The text was updated successfully, but these errors were encountered: