diff --git a/app/assets/stylesheets/common/base/discourse.scss b/app/assets/stylesheets/common/base/discourse.scss index 22c3f0d7378..0e6e3a78c7d 100644 --- a/app/assets/stylesheets/common/base/discourse.scss +++ b/app/assets/stylesheets/common/base/discourse.scss @@ -242,11 +242,10 @@ input[type="search"] { // Safari hack to prevent scrolling when focusing an input // See https://gist.github.com/kiding/72721a0553fa93198ae2bb6eefaa3299 -// TODO: use a Safari iOS/iPadOS specific selector -.discourse-touch { +.ios-device { input:focus, textarea:focus { - animation: blink_input_opacity_to_prevent_scrolling_when_focus 0.05s; + animation: blink_input_opacity_to_prevent_scrolling_when_focus 0.01s; } }