Suggestion: Disable toolbar auto-show and gestures during text selection

Open
#578 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
dart
Domain
mobile

Research direction

Reproduce the issue on Android using the reported long-press and selection-handle drag, with toolbar auto-hide enabled; the issue names no source files or tests. Trace where text selection, toolbar auto-show, and swipe gestures are handled, then check whether selection is active when those gestures fire. Done means dragging selection handles neither re-shows the hidden toolbar nor triggers unintended on-screen gestures.

Written by the indexing model from the issue text.

Description

enhancement P1

Description:
Currently, if you select text via long-press and then drag the selection handles to highlight more text, the browser mistakenly interprets this movement as regular swipe gestures. For example, I've noticed this causes the toolbar to reappear after it was hidden (when the auto-hide setting is enabled), and it also triggers unintended on-screen gestures

​Possible solution:
A potential fix would be to temporarily disable or block these specific browser interactions while text selection is active

Video and log

https://github.com/user-attachments/assets/7697dc9b-4ff5-45b6-90e1-eb24f89f6315

16_08-16-21-55_792.zip

Environment:

  • Device: realme 9 pro+
  • OS: Android 14
  • WebLibre version: 0.30.0-alpha-4
Dominant language
Dart
Stars
1k
Forks
41
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from FaFre/WebLibre

All issues in FaFre/WebLibre

Similar issues

More Dart issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.