Skip to content

fix(*): caret position after change with selection #1195

Merged
merged 5 commits into from
Sep 25, 2020
Merged

fix(*): caret position after change with selection #1195

merged 5 commits into from
Sep 25, 2020

Conversation

RG100-EMUX
Copy link

Позиция каретки после изменения через selection

Мотивация и контекст

#1193

@coveralls
Copy link

coveralls commented Aug 14, 2020

Coverage Status

Coverage remained the same at 83.697% when pulling 69ca44f on ethorz:PR-1193 into c31771a on alfa-laboratory:master.

@reme3d2y
Copy link
Contributor

reme3d2y commented Sep 3, 2020

Может дополнительно заменить setTimeout на requestAnimationFrame?
У меня сейчас видно, как курсор перепрыгивает сначала в дробную часть, а потом возвращается на место.

@RG100-EMUX
Copy link
Author

Может дополнительно заменить setTimeout на requestAnimationFrame?
У меня сейчас видно, как курсор перепрыгивает сначала в дробную часть, а потом возвращается на место.

Заменил, пришлось чуток переделать тест, но не уверен в его правильности)

@Heymdall Heymdall merged commit 845f4ac into alfa-laboratory:master Sep 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants