question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature Request - Ability to bypass scroll checks

See original GitHub issue

What’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:closed
  • Created 7 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
bvaughncommented, Dec 25, 2016

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 own Table-like-abstraction on top of Grid or perhaps wait for me to finish the MultiGrid component (in progress here).

I realize this is probably not the answer you were hoping for. Happy holidays though!

0reactions
leonproucommented, Dec 18, 2016

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?

scrollbar1 Can’t see the vertical scrollbar here ^ scrollbar2

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found