-
Notifications
You must be signed in to change notification settings - Fork 3k
Open and close the calendar with a trigger event #2632
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
Comments
Hi 👋 |
Hi, |
Hi @MathieuVce , Did you try with 1.1311.1? |
Hello @nitzanyiz ! Of course, I implemented it as soon as it was released. However, as I mentioned earlier, when we manually trigger the calendar, we don't want the pan gesture to activate it anymore. Setting disablePan to true prevents this, but it also stops the month toggle from updating since panGesture remains enabled internally. My previous diff addresses this by ensuring that the height animation still functions correctly even when disablePan is true, because it recognizes that the toggle is being triggered manually. |
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch
[email protected]
for the project I'm working on.I want to open/close ExpandableCalendar programmatically, on a trigger event. I decided to use the ref of the child component and call a function who will trigger the toggle function and return the state of the position.
Here is the diff that solved my problem:
This issue body was partially generated by patch-package.
The text was updated successfully, but these errors were encountered: