Replies: 1 comment 9 replies
-
Interesting, what is your issue here? From the code of CustomDay above, it seems you are missing to pass |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I saw a few times this feature/ issue has been raised:
What I am trying to achieve now is a hover "pre-selection" effect (like the one shown in the V9 example).
I have tried a few method, the base line should be a check if day is between a selected date and a hovered one and add a class to those days.
But onDayMouseEnter seems to not work properly with custom components and the picker component does not trigger an update on mouse hover, so manually doing so also does not work.
Same for modifiers, the styles or classes for them does not seems to apply.
For context here is the current code:
And here is the custom day component:
Thanks for the help!
Beta Was this translation helpful? Give feedback.
All reactions