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 Scale and Scrolling Position After Reload #39

Open
mediter opened this issue Jan 24, 2020 · 6 comments
Open

Retain Scale and Scrolling Position After Reload #39

mediter opened this issue Jan 24, 2020 · 6 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@mediter
Copy link

mediter commented Jan 24, 2020

Is your feature request related to a problem? Please describe.

N/A

Describe the solution you'd like

an option to retain the scale factor and scrolling position after a reload. I use Plash to display sites like dribbble, it would be most useful to display only the content without the site navigations.

@mediter mediter added the enhancement New feature or request label Jan 24, 2020
@sindresorhus
Copy link
Owner

That's a good idea. By scale factor, do you mean right-clicking in browsing mode and selecting "Zoom In"?

@mediter
Copy link
Author

mediter commented Jan 26, 2020

yes. Also maybe support for pinch/spread gesture

@sindresorhus
Copy link
Owner

I don't think there's any way to preserve the pinch zoom, but I'll look into it.

@sindresorhus
Copy link
Owner

I use Plash to display sites like dribbble, it would be most useful to display only the content without the site navigations.

In the meantime, you could remove the navigation with CSS: #1 (comment)

sindresorhus added a commit that referenced this issue Feb 6, 2020
@sindresorhus
Copy link
Owner

sindresorhus commented Feb 6, 2020

I don't intend to work on 2 and 3 anytime soon, so help welcome if anyone wants to see those happen.


Maybe we could use https://developer.apple.com/documentation/webkit/wkwebview/3752236-interactionstate?changes=__7 for this.

@sindresorhus sindresorhus added the help wanted Extra attention is needed label Feb 6, 2020
@sindresorhus
Copy link
Owner

I added a tip to the readme on how to set a specific scroll position: https://github.com/sindresorhus/Plash#scroll-to-position

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants