-
Notifications
You must be signed in to change notification settings - Fork 361
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
fix: Calendar transition bug #195
Conversation
Can you share a video of your fix? Thanks 🫡🙌 |
The Glitch partially goes away but, Screen.Recording.2023-11-30.at.5.53.47.PM.mov |
Old Calendar Transition: Fixed Calendar Transition: I've noticed on the new version there is still a trail that shows on the horizontal axis, but that could probably fixed with overflow-hidden. |
Other maintainers should decide: "Keep transition for Calendar or make it like the main shadcn-ui" IMO let's follow the main |
Yeah, but we would have to find a fix for the glitches when moving pages. |
find a way you can append these to style section .vc-pane-container {
width: 100%;
position: relative;
}
.vc-pane-container.in-transition {
overflow: hidden;
}
.vc-slide-left-leave-active,
.vc-slide-right-leave-active {
position: absolute !important;
top: 0;
right: 0;
bottom: 0;
left: 0;
width: 100%;
height: 100%;
}
.vc-slide-left-enter-from,
.vc-slide-left-leave-to,
.vc-slide-right-enter-from,
.vc-slide-right-leave-to {
opacity: 0;
} and add |
Can I push? @lovlyx |
Screen.Recording.2023-11-30.at.6.56.23.PM.mov |
Oh Perfect! |
Personally I would prefer the transition (although original |
I can't access to my computer right now can you drop my commit? If you not familiar with
Also, don't forget about overflow-hidden Thanks 🫡 |
f224270
to
c58a708
Compare
Added overflow hidden + z-index to the buttons
Okay @zernonia it should all be good now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks @lovlyx @sadeghbarati
Added classes from VCalendar styles to fix transition glitch.