-
Notifications
You must be signed in to change notification settings - Fork 14
fix(web)[TextInput]: cursor jumps to the start when secureTextEntry i… #21
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
fix(web)[TextInput]: cursor jumps to the start when secureTextEntry i… #21
Conversation
Co-authored-by: Thiago Brezinski <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pac-guerreiro In IOS/Safari, I am having following issue
Screen.Recording.2023-08-01.at.18.24.32.mov
Uploading Screen Recording 2023-08-01 at 18.46.43.mov… You sure you're running my code? I just tested my changes on iOS/safari and they work 😅 |
@pac-guerreiro Looks like the screen recording didn't get uploaded in previous message ![]() |
My bad 😅 Screen.Recording.2023-08-01.at.18.46.43.mov |
Thanks @pac-guerreiro. We are good to merge this. cc: @NikkiWines |
Looks like there are some formatting and unit test errors |
My bad 😅 I just pushed fixes for those issues! |
No worries @pac-guerreiro - looks like there's still one failure |
@NikkiWines second time's the charm 😅 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello everyone 👋🏼 few PSA's here:
So in conclusion, I think we need to:
|
This PR fixes Expensify/App#21727
Problem
On web, the cursor jumps to the start of the input when
secureTextEntry
is toggled.Solution
Preserve and restore previous selection after
secureTextEntry
is toggled.The proposal and demo are available in this comment: Expensify/App#21727 (comment)