Skip to content

Conversation

@Kuuuube
Copy link
Member

@Kuuuube Kuuuube commented Jan 26, 2025

On some sites, there is an issue where touching too quickly will show the popup but then it will instantly disappear. This only happens when the popup is triggered on a touch end (touch release an touch tap).

Adding preventNextMouseDown prevents erroneous clicks from being registered after the touch release that make the popup close itself.

This implementation is similar to _searchAtFromTouchStart right above it.

@Kuuuube Kuuuube added kind/bug The issue or PR is regarding a bug area/ui-ux The issue or PR is related to UI/UX/Design labels Jan 26, 2025
@Kuuuube Kuuuube requested a review from a team as a code owner January 26, 2025 20:42
@github-actions
Copy link

@jamesmaa jamesmaa added this pull request to the merge queue Jan 27, 2025
Merged via the queue into yomidevs:master with commit fda354b Jan 27, 2025
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/ui-ux The issue or PR is related to UI/UX/Design kind/bug The issue or PR is regarding a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants