TINYMCE-14795: Fix mouse reset code - #171
Open
TheSpyder wants to merge 3 commits into
Open
Conversation
…st client side code to cause the mouse to reset more often.
spocke
approved these changes
Aug 21, 2026
| // A global list of requests that were sent to the server, we must wait for these before sending `/done` or it may confuse the HUD | ||
| const requestsInFlight: Promise<void>[] = []; | ||
|
|
||
| // reset the time for every pull from the results list |
| if (shouldResetMousePos && mousePositionResetSupported) { | ||
| try { | ||
| // Park the mouse in the top left corner, out of the way of the browser. | ||
| // Use two actions to account for drivers thinking this is a no-op; it still only |
Member
There was a problem hiding this comment.
Maybe fix this weird indentation?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related Ticket: TINYMCE-14795
Description of Changes:
fetchfor this) and sets a flag so the next test sends a start event to reset the mouseThis should fix our build failures on Firefox 153, which appears to have changed something about the mouse hover code.
Pre-checks:
Before merging: