arqex / arqex/react-datetime

wrong cursor position while editing input with keyboard

Open
#755 10 comments 20 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2k
Forks
858
PR merge metrics
No merged PRs in 30d

Description

I'm having this problem when i select a date like "11/22/2020 10:07" , and then when i want to delete the month and change it with keyboard , when i delete the first number (here 1), the cursor jumpes to the end of the input text (here after 7), and its so annoying, any idea how to fix this??
this happens only if i use it as controlled input!!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.