🐞 - Number
incorrectly shift caret on the 1st insertion after mask initialization
#1787
Closed
5 of 9 tasks
Labels
Which package(s) are the source of the bug?
@maskito/core, @maskito/kit
Playground Link
https://stackblitz.com/edit/6w7vlx-hk9kff?file=index.ts
Description
Ввести число 123456789. Переставить позицию между 5 и 6. Ввести любое число. Карретка передвигается не на ту позицию.
Думаю баг связан с createInitializationOnlyPreprocessor() в методе maskitoNumberOptionsGenerator. Потому что при генерации новой маски залетает не по isInitializationPhase
Maskito version
any
Which browsers have you used?
Which operating systems have you used?
The text was updated successfully, but these errors were encountered: