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

fix(Cursor): input-rules does not work when cursor in virtual selection (GapCursorSelection) #515

Merged
merged 1 commit into from
Dec 5, 2024

Conversation

d3m1d0v
Copy link
Member

@d3m1d0v d3m1d0v commented Dec 4, 2024

Old behavior: when cursor has been emulated by GapCursorSelection, inputRules incorrect handling text input.
Now: GapCursorSelection will be replaced with empty textblock, and after that inputRules run his handling. So now they are correct handle user input.

Old behavior: when cursor was emulated using GapCursorSelection, inputRules handled text input incorrectly.
Now: first, the GapCursorSelection will be replaced with an empty textblock, and after that the inputRules will run their handler. So now they are correctly handling user input.

@gravity-ui-bot
Copy link
Contributor

Preview is ready.

@d3m1d0v d3m1d0v marked this pull request as ready for review December 4, 2024 14:38
@d3m1d0v d3m1d0v requested a review from makhnatkin as a code owner December 4, 2024 14:38
@d3m1d0v d3m1d0v merged commit 9126756 into main Dec 5, 2024
3 checks passed
@d3m1d0v d3m1d0v deleted the d3m1d0v/fix-gap-cursor-sel branch December 5, 2024 09:06
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.

3 participants