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:
Liam DeBeasi
2020-10-30 09:44:17 -04:00
committed by GitHub
parent 69d72f9c17
commit 023fb18412

View File

@ -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;
}