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.

scrollOffset not respected

See original GitHub issue

Hi Erik,

See the following Sandbox: https://codesandbox.io/s/react-laag-menu-viewport-margin-x40cc

When opening the menu, it has no margin relative to the viewport:

image

Even though scrollOffset: 12. Any idea what is the problem here?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:21 (21 by maintainers)

github_iconTop GitHub Comments

1reaction
rijkcommented, Dec 17, 2020

I’ll close this one, will reopen if I run into the issue again but assume it’s fixed. Thanks for the help so far.

0reactions
everweijcommented, Dec 16, 2020

Has scrollOffset been removed by the way? The release notes don’t mention it.

Thanks for noticing! Well, the option has been renamed: scrollOffset > containerOffset. I will fix this in the release notes right away!

Read more comments on GitHub >

github_iconTop Results From Across the Web

c# - OnDrawItem does not respect horizontal scroll position ...
It seems like the horizontal scroll offset is lost somewhere on the way and the area OnPaint() has been called to fill in...
Read more >
scroll-padding - CSS-Tricks
scroll-padding is part of the CSS Scroll Snap Module. Scroll snapping refers to “locking” the position of the viewport to specific elements ...
Read more >
Mouse scrolls editor when Cursor Surrounding Lines is set
Successfully merging a pull request may close this issue. Respect default behaviour of cursorSurroundingLines cvaldev/Vim. 2 participants. @ ...
Read more >
ASP.NET Core Data Grid Component Scrolling Overview
By default, the Grid does not display scrollbars when scrolling is enabled. ... variable which will hold the scroll positions. var scrollOffset =...
Read more >
Scroll-linked Animations - W3C
If the sampling of such an animation causes a change to a scroll offset, the animation will not be re-sampled to reflect 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