FIX: Remove iOS trick to prevent scrolling when focusing on input

FIX: Remove iOS trick to prevent scrolling when focusing on input

No longer needed, removing it also fixes blinking when tapping the composer textarea

diff --git a/app/assets/javascripts/discourse/app/lib/safari-hacks.js b/app/assets/javascripts/discourse/app/lib/safari-hacks.js
index c364674..5fa0052 100644
--- a/app/assets/javascripts/discourse/app/lib/safari-hacks.js
+++ b/app/assets/javascripts/discourse/app/lib/safari-hacks.js
@@ -168,14 +168,6 @@ function positioningWorkaround($fixedElement) {
       originalScrollTop = window.pageYOffset;
     }
 
-    const elementRect = _this.getBoundingClientRect();
-    if (elementRect.top > 100) {
-      // this tricks iOS safari into assuming input/textarea is at top of the viewport
-      // via https://stackoverflow.com/questions/38017771/mobile-safari-prevent-scroll-page-when-focus-on-input
-      _this.style.transform = "translateY(-400px)";
-      later(() => (_this.style.transform = "none"), 30);
-    }
-
     let delay = caps.isIpadOS ? 350 : 150;
 
     later(function() {

GitHub sha: 09eb087f