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

issue deleting characters using dynamic mask and eager mode #231

Open
zluipaiva opened this issue Sep 3, 2024 · 0 comments
Open

issue deleting characters using dynamic mask and eager mode #231

zluipaiva opened this issue Sep 3, 2024 · 0 comments

Comments

@zluipaiva
Copy link

Describe the bug

Using a dynamic mask with eager set as true, when you try to delete the content, the cursor will move to a wrong position.
This happens when the delete action causes the mask to change from one option to the other

Steps to reproduce

In the link below, type enough characters to enable the second mask option. Once using the second mask, start to delete characters. When the mask comes back to the first one, the cursor will be positioned on the next character.

Maybe it's related to #128

Reproduction link

https://codepen.io/zluipaiva/pen/MWMzgRe

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

No branches or pull requests

1 participant