Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retain webview scroll position on page navigation #5884

Closed
pfrazee opened this issue Jun 6, 2016 · 1 comment
Closed

Retain webview scroll position on page navigation #5884

pfrazee opened this issue Jun 6, 2016 · 1 comment

Comments

@pfrazee
Copy link
Contributor

pfrazee commented Jun 6, 2016

  • Electron version: 1.2.0
  • Operating system: OSX 10.11.4

I'm finding that webviews lose their scroll position when you back/forward/reload. Is this expected behavior? Do I need to implement a solution in my application?

@zcbenz
Copy link
Member

zcbenz commented Jun 7, 2016

In Electron every page navigation will restart the renderer process, so scroll position is not retained and you have to implement your own solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants