mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
fix(ios): contenteditable elements are now selectable on iOS (#22404)
Co-authored-by: Chris Lo <CFT-Chris@users.noreply.github.com>
This commit is contained in:
@ -3,6 +3,16 @@ html.plt-mobile ion-app {
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* This works around a WebKit issue
|
||||
* where user-select: none was causing
|
||||
* contenteditable to not be selectable,
|
||||
* even though inputs and textareas are selectable.
|
||||
*/
|
||||
html.plt-mobile ion-app [contenteditable] {
|
||||
user-select: text;
|
||||
}
|
||||
|
||||
ion-app.force-statusbar-padding {
|
||||
--ion-safe-area-top: 20px;
|
||||
}
|
||||
|
Reference in New Issue
Block a user