penpot / penpot

Penpot: The open-source design tool for design and code collaboration
https://penpot.app
Mozilla Public License 2.0
33.75k stars 1.71k forks source link

feature: Block two finger touchpad back/forward gesture on the whole browser window #4246

Open unaaagy opened 8 months ago

unaaagy commented 8 months ago

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

The touchpad back/forward gesture is only blocked on the canvas area. However, on the toolbar areas, it isn't. I always have to be careful to not to accidently go back while scrolling the botton color toolbar.

Describe the solution you'd like.

Block the touchpad gesture on the whole window.

Describe alternatives you've considered.

No response

Additional context

Screencast from 2024-03-11 20-53-42.webm

madalenapmelo-kp commented 7 months ago

Hi @unaaagy,

Thank you for reporting this! Could you please confirm which browser you are working with?

unaaagy commented 7 months ago

I'm currently using Google Chrome in Fedora 39. Since 2 finger back/forward is not enabled by default I have enabled it by google-chrome --enable-features=TouchpadOverscrollHistoryNavigation

Edit: It also seems to happen in Firefox.

madalenapmelo-kp commented 7 months ago

Hi @unaaagy,

I've created an enhancement on Taiga so that we can explore this option, the details can be found here: https://tree.taiga.io/project/penpot/issue/7454

Shywim commented 2 months ago

Hello, this is also a problem on Arc (chrome-based) on MacOS, but not on Safari.