Feature Request - Ability to bypass scroll checks
See original GitHub issueWhat’s your use case?
We are using a custom variant of perfect-scrollbar where the scrollbars are rendered outside of the .ReactVirtualized__Grid
element. It works great, but we are forced to override the overflow properties of the grid in a parent component’s componentDidUpdate
.
element.style.overflowX = element.style.overflowY = 'hidden';
I can imagine this thrashing causing a performance issue.
What interface do you have in mind?
A prop on List
/Grid
called externalScrollbars
of type boolean
, defaulting to false that would bypass calculating scrollbar height/width, and always set the overflow X and Y properties to 'hidden'
.
https://github.com/bvaughn/react-virtualized/blob/master/source/Grid/Grid.js#L533
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
click below/above scrollbar handle moves one screen height ...
When viewing the "release notes" on VSCode, I can click above/below the scrollbar handle to scroll up/down one screen height (kind of "relative...
Read more >How to universally enable scrolling on website that disabled ...
In a browser like Chrome etc.: Inspect the code (for e.g. in Chrome press ctrl + shift + c );; Set overflow: visible...
Read more >35287 – feature request: smooth scroll - Bugzilla
I confirm this issue in Windows 10 64-bit Libreoffice Dev Version: 5.1.0.0.alpha1+ While my scroll speed and smoothness works well in most apps, ......
Read more >How does an artificer's Magic Item Savant feature interact with ...
Artificers with the Magic Item Savant Feature only require Ability Checks to cast spell scrolls if it's a 5th level spell on the...
Read more >Scroll API | Elasticsearch Guide [8.5] | Elastic
You can then use the scroll ID with the scroll API to retrieve the next batch of results for the request. If the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The
Table
component does not support horizontal scrolling. Unfortunately there’s no simple way to do this that doesn’t result in awkward scrollbars like you describe. Probably best to make your ownTable
-like-abstraction on top ofGrid
or perhaps wait for me to finish theMultiGrid
component (in progress here).I realize this is probably not the answer you were hoping for. Happy holidays though!
We have some similar issue with the scrollbar. We want to scroll the table both horizontally and vertically, problem with the vertical scrollbar that it renders at the end of the line. So to see and use the vertical scrollbar we must move the horizontal scrollbar (shown in the two screenshots). Horizontal scrolling is working as we want it, is there a way to make vertical scrollbar to behave the same way?
Can’t see the vertical scrollbar here ^