taiga-family/maskito

๐Ÿž - `maskitoCaretGuard` has blinking problems when selection is changed after `mousedown` and before `mouseup`

nsbarsukov opened this issue ยท 0 comments

Which package(s) are the source of the bug?

@maskito/kit

Playground Link

https://stackblitz.com/edit/maskito-caret-guard-bug?file=index.ts

Description

bug-demo.mov

Expected behaviour:
If user uses mouse to trigger selectionchange (mousedown event) then maskitoCaretGuard will start its validation only after user will finish it (mouseup event).

Maskito version

1.2.1

Which browsers have you used?

  • Chrome
  • Firefox
  • Safari
  • Edge

Which operating systems have you used?

  • macOS
  • Windows
  • Linux
  • iOS
  • Android