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

[Android] Friendly gesture to switch instance #1021

Open
umgpy opened this issue Nov 19, 2024 · 2 comments
Open

[Android] Friendly gesture to switch instance #1021

umgpy opened this issue Nov 19, 2024 · 2 comments
Labels
enhancement New feature or request Firefox-Android For issues related to Firefox Android which isn't supported officialy

Comments

@umgpy
Copy link

umgpy commented Nov 19, 2024

It would be nice to switch instances by tapping the screen with two or three fingers or any other gesture(s)

Translate Web Pages extension implements it like this for reference here

  // show/hide popup on 3 finger tap
  window.addEventListener("touchstart", (e) => {
    if (e.touches.length == 3) {
      if (rootElement.isConnected) {
        hidePopup();
      } else {
        showPopup();
      }
    }
  });
@IkelAtomig IkelAtomig added enhancement New feature or request Firefox-Android For issues related to Firefox Android which isn't supported officialy labels Nov 21, 2024
@IkelAtomig
Copy link
Member

The accesibility issue you are bringing here worth the discussion. I would suggest give some detail on this to work on.

@umgpy
Copy link
Author

umgpy commented Nov 26, 2024

Thanks for considering this feature request. What sort of detail's were you thinking of, general implementations?

One thing that comes to my mind is that certain gestures conflict with device manufacture's device wide gestures, such as, screenshots- with three fingers. So in maybe a disclaimer for the users for such potential conflicts or have options to choose from.

Additionally, maybe it might be better to let user decide what action this add-on performs based on the gesture.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Firefox-Android For issues related to Firefox Android which isn't supported officialy
Development

No branches or pull requests

2 participants