-
Notifications
You must be signed in to change notification settings - Fork 0
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: improve app-wide scroll behavior #96
Conversation
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.
When you hover on scrollable containers you see that sometimes the children would shift because the scrollbar is now visible. This is because the scrollbar takes up space. This shouldn't be, scrollbars should not be positioned relatively.
Apart form these issues. It looks pretty good.
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.
Great that we are using a tailwind component. But currently the scroll not working on multiple widgets: tvl, podcasts, video, etc.
Should be resolved 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.
Great, thanks @elcharitas 🙏
This PR improves the scrollbar we use generally and substitute perfect scrollbar with a custom tailwind scrollbar.
This PR ensures there's partial compatibility with react perfect scrollbar API and the look and feel shouldn't differ much either.
To test, check the scroll behaviour of any of the following: