-
Notifications
You must be signed in to change notification settings - Fork 105
fix(AnalyticalTable): fix vertical scrollbar styles and sync logic #7839
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
Conversation
Size Change: +895 B (+0.2%) Total Size: 448 kB
ℹ️ View Unchanged
|
Pull Request Test Coverage Report for Build 18678341703Details
💛 - Coveralls |
{ | ||
className, | ||
className: clsx( | ||
cellProps.className, |
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.
className from cell props was not added previously, could that cause issues?
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.
This shouldn’t change how things work right now, since plugin hooks run in the order they’re added. I added it mainly for consistency - if we ever add another hook before useStyling
that also uses className
, its classes would otherwise get overwritten.
packages/main/src/components/AnalyticalTable/scrollbars/VerticalScrollbar.tsx
Show resolved
Hide resolved
🎉 This PR is included in version v2.15.3 🎉 The release is available on v2.15.3 Your semantic-release bot 📦🚀 |
Chrome:
Here the table is scrolled to the last row
Solution: force reflow to update scrollbar track height
Firefox:
width
is set.Solution: Use native scrollbar and add padding in last cells to prevent content from being hidden
General:
data
Fixes #7831