Skip to content

Conversation

@vinguyen12
Copy link
Contributor

Bump version to 9.37.0

Vi Nguyen and others added 30 commits September 12, 2025 11:52
Add TouchPlugin to handle text selection by touch

(Spec: For touch selection, move the cursor to the beginning or end of the word if they tap within 6 characters of the beginning/end. If not, then place the cursor where they originally tapped.)
Touch Selection - handle double tab

**Spec:**
Double tap on a word: Highlight the word or closest word if the user tapped on a space in between 2 words and open the Floatie Ribbon **(-> browser handles this)**
- note: if the user double taps on the open space after a word and there is no word on the right-side of the same, then highlight the first space of the wide gap
- note: if a user double taps on a character like a comma, period, colon, or semi-colon, then highlight that character
- note: if a user double taps on a bracket [,{,(,),},] that is next to a word, then highlight the word and not the bracket **(-> browser handles this)**


**Changes:**
 - Fix:  
      + reset `this.pointerEvent` to be `null `after trigger plugin event
      + use `setTimeout` to delay plugin event triggered for 200s to wait for new selection to be updated properly before defining the reposition (and also wait for `dblclick` event to check if it is double tab or single tab).
 - Listen to `dblclick` native event to trigger `pointerDoubleClick` if there is pointer event stored
 - Add new `pointerDoubleClick` plugin event and add handler in Touch Plugin
 - Add handler for 2 scenarios:
     + double clicked character is a punctuation mark: select that char only
     + double clicked character is a white space: check if right side has word, if yes, let browser handle it; if no, traverse to left and select the first white space char of the selected open space
Vi Nguyen and others added 24 commits September 17, 2025 15:05
…ick as general mouse event instead of pointer
Restore iOS auto-capitalization by delegating Backspace to the browser
recalculate the image wrapper size considering the border width
…tion

Touch Plugin - Handle the entire flow of touch selection (not rely on browser)
@JiuqingSong
Copy link
Collaborator

Need to merge to release branch rather than master

@vinguyen12 vinguyen12 changed the base branch from master to release September 20, 2025 03:50
@vinguyen12
Copy link
Contributor Author

Need to merge to release branch rather than master

Thanks Jason. I fixed this.

@JiuqingSong JiuqingSong merged commit 8b68ed4 into release Sep 21, 2025
7 checks passed
@vinguyen12 vinguyen12 deleted the u/nguyenvi/version-bump-091925 branch September 22, 2025 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants