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 to scrollTo a position in the page

See original GitHub issue

Like the scrollTo method for a ScrollView, it’d be useful to be able to scroll to a specific part of a page without having to inject JS.

Currently, I’m recording the viewport position relative to the page using onScroll and would like to return a user to that exact position at a later time.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:7
  • Comments:6

github_iconTop GitHub Comments

2reactions
dutescucristinacommented, Jul 12, 2021

It is necessary to have this feature.

0reactions
Goran-VRBANCICcommented, Dec 13, 2021

Is there a way to just get/set the scroll value of the webview scroller ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Window scrollTo() Method - W3Schools
The scrollTo() method scrolls the document to specified coordinates. Note. For the scrollTo() method to work, the document must be larger than the...
Read more >
Scroll to the top of the page using JavaScript/jQuery
A scrollable page can be scrolled to the top using 2 approaches: Method 1: Using window.scrollTo(): The scrollTo() method of the window ...
Read more >
Scroll to the top of the page using JavaScript? - Stack Overflow
scrollTo () method -- passing in 0, 0 will scroll the page to the top left instantly. ... If you like, you can...
Read more >
Window.scrollTo() - Web APIs | MDN
Window.scrollTo() scrolls to a particular set of coordinates in the document.
Read more >
scrollTo | Cypress Documentation
A specified position to scroll the window or element to. Valid positions are topLeft , top , topRight , left , center ,...
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