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.

Scrollable container not detected

See original GitHub issue

Not sure which repo you prefer issues on, but I have an issue where I have a horizontal container that’s not detected as “scrollable”. If I log out all the actions computed by compute-scroll-into-view, the container isn’t listed. This happens even though the scrollWidth is definitely wider than clientWidth. (I logged to verify.) Is there a way to force computation that a container definitely is scrollable and to set the scroll position?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:16 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
matthew-deancommented, Jul 18, 2018

@stipsan Great, thanks!

0reactions
stipsancommented, Jul 18, 2018

It only happens when scrolling to #6 and #9. Adding boundary: document.body is a temporary fix.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Overflow Scroll css is not working in the div
I am looking for CSS/Javascript solution for my HTML page scrolling issue. I have three divs that contain a div, a header and...
Read more >
Scrollable container not detected · Issue #17 · stipsan/compute ...
I tried with scrollMode always but had no results. The container itself (surrounding the element(s) to be scrolled) def has a scrollWidth larger...
Read more >
Scroll container is not working - Mendix Forum
Hi, I am getting data from the REST endpoint and I have data in JSON, I am showing JSON data in table format....
Read more >
Overflow Issues In CSS - Smashing Magazine
Let's explore the ways to detect overflow. Scrolling to the Left or Right #. The first way to discover an overflow issue is...
Read more >
overflow-y - CSS: Cascading Style Sheets - MDN Web Docs
This may be nothing, a scroll bar, or the overflow content. ... The box is not a scroll container, and does not start...
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