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

Browser back occurs with pen gesture #18

Closed
satopian opened this issue Apr 1, 2022 · 5 comments
Closed

Browser back occurs with pen gesture #18

satopian opened this issue Apr 1, 2022 · 5 comments
Assignees

Comments

@satopian
Copy link
Contributor

satopian commented Apr 1, 2022

220401_ペンジェスチャー

When I open the "edit" menu and move the pen from left to right, it returns to the previous screen.
This only happened in the latest version, not in a slightly older version.

@bitbof
Copy link
Owner

bitbof commented Apr 1, 2022

Great catch, I'll have a look!

@bitbof bitbof self-assigned this Apr 1, 2022
@bitbof
Copy link
Owner

bitbof commented Apr 1, 2022

fixed in bcce396

@bitbof bitbof closed this as completed Apr 1, 2022
@bitbof
Copy link
Owner

bitbof commented Apr 1, 2022

if you use a touch pad with 2 fingers you can still do the back gesture despite it being set to ´touch-gesture: pan-y´ :(

@satopian
Copy link
Contributor Author

satopian commented Apr 1, 2022

I'm not sure if this is appropriate, but it's a code I often use to prevent browser backs.
<style>body{overscroll-behavior-x: none !important; }</style>

@bitbof
Copy link
Owner

bitbof commented Apr 1, 2022

Thx! I stumbled over it too just now. Safari ignores it unfortunately. It might be unavoidable there unless all scroll events are manually processed.
I'll use it! 👍

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