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.

Has one way to use window.scroll as a scroll Option ?

See original GitHub issue

Hello, there’s anyway to use window scroll as an option ? Without using a container to get her ref. I’ve tried to follow the docs but i didn’t succeed using window.scroll

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
daybrushcommented, Apr 7, 2021

@dnb00

I can’t see the image or file. Please upload it in another way.

1reaction
daybrushcommented, Apr 5, 2021

@dnb00

Set threshold 30 (> 0)

If the threshold is 0, it is the level at which the mouse moves out of the browser.

And

onScroll(e) { document.documentElement.scrollBy(e.direction[0] * 10, e.direction[1] * 10) },
Read more comments on GitHub >

github_iconTop Results From Across the Web

Window.scroll() - Web APIs - MDN Web Docs
The Window.scroll() method scrolls the window to a particular place in the document.
Read more >
Window sizes and scrolling - The Modern JavaScript Tutorial
The method scrollTo(pageX,pageY) scrolls the page to absolute coordinates, so that the top-left corner of the visible part has coordinates ( ...
Read more >
How to handle window scroll event in Angular 4?
Probably your document isn't scrolling, but a div inside it is. The scroll event only bubbles up to the window if it's called...
Read more >
Scrolling with animations using "window.scrollTo" - YouTube
In today's video I'll be showing you how to use the " window. scrollTo " method in JavaScript which allows you to scroll...
Read more >
PRO TOOLS | EDIT WINDOW SCROLLING OPTIONS ...
SUBSCRIBE Support this channel ⬇⬇⬇ The four Edit Window Scrolling options, plus Insertion Follows Playback in Pro Tools.You have four ...
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