-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
bug: ion-textarea Text Selection Not Persisting on Safari #29077
Comments
Hi! Thanks for the bug report. This appears to be a bug in WebKit, probably this one. (Text doesn't get/stay focused when using |
Thank you for your feedback @mapsandapps but are you sure it's the same issue ? Cause if I don't use the Exemple: public selectText(): void {
setTimeout(() => {
this.textArea.getInputElement().then((input) => input.select());
}, 50);
} Could it not be a race condition ? As you can see on demo provided above when clicking in the input it briefly select all of the text for a very brief moment. And then unselect. Your webkit issue don't mention that and instead mention that it is never focus. cc: @cconti1 |
Hello @mapsandapps, can we have that one review one more time by any chance ? |
Hi @AdrienJacquard, I'm able to reproduce this with the native |
Prerequisites
Ionic Framework Version
v6.x, v7.x
Current Behavior
Expected Behavior
Steps to Reproduce
Code Reproduction URL
https://stackblitz.com/edit/ionic-textarea-select
Ionic Info
Additional Information
No response
The text was updated successfully, but these errors were encountered: