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

Firefox issue when navigating back to a previous page #70

Open
kimlai opened this issue May 18, 2020 · 0 comments
Open

Firefox issue when navigating back to a previous page #70

kimlai opened this issue May 18, 2020 · 0 comments

Comments

@kimlai
Copy link

kimlai commented May 18, 2020

Firefox version: 76.0
instant.page version: 5.0.1

When navigating to a new page, and then navigating back using the browser's back button, the cursor is shown as "grabbing", as if the user was dragging the <a> tag that was previously clicked.

I created a minimal repo deployed to github pages to demonstrate the issue.

This does not happen when using the data-instant-no-mousedown-shortcut option.

It seems that when you navigate away on "mousedown", Firefox does not really understand that you released the mouse, so when you go back to the page it thinks you're still grabbing the element. I'm not sure if that's a Firefox bug or a instant.page bug though.

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

No branches or pull requests

2 participants