-
Notifications
You must be signed in to change notification settings - Fork 196
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 month is bugged inside a modal #591
Comments
@Quentius If I understand correctly, you mean you can't use the arrow button to change the month to previous/next month? |
Hello! I have the same problem. |
Maybe the problem is that the calendar store some data into a service and they are not reinitialized when a component is destroied and recreated? |
Hello, i created a small stackblitz example to show the problem: |
Hi @twinssbc! Can you please look if the problem is simple to solve now that there is a stackbliz? Many Thanks for your time |
@davidecampello @Quentius The reason because of this issue is the calendar was loaded before the page is fully rendered. For example, This is the template, notice I use showCalendar to control the visibility
Then in the component ts
|
Thank you very much @twinssbc, I'll try and let you know |
Thanks guys, it´s worked fine. |
Hi. this works also for me but i'm facing another issue which is i can't acess the calendar programaticaly in the ts file using viewchild |
The calendar inside my modal is bugged.
Description:
The Arrows next to the date (Februari 2021 as example) Ain't working on the screenshot. To make the swiping work, and actually be able to click on dates I need to swipe the calendar manually to the month next. Thats where the current date is.
It is important to check the dates in the pictures
Example swipe: https://ibb.co/QN6TMfg
How it is right now: https://ibb.co/gzRgWqh
How it should be: https://ibb.co/ZT49tLX
Typescript:
HTML:
SCSS
The red surrounded line is the issue. Is there a way to remove it?
The text was updated successfully, but these errors were encountered: