HACK: Reduce icon jitter while scrolling with composer open in iOS

HACK: Reduce icon jitter while scrolling with composer open in iOS

diff --git a/app/assets/stylesheets/mobile/compose.scss b/app/assets/stylesheets/mobile/compose.scss
index 2de704e..9284a65 100644
--- a/app/assets/stylesheets/mobile/compose.scss
+++ b/app/assets/stylesheets/mobile/compose.scss
@@ -127,6 +127,9 @@
   }
 
   .d-editor-button-bar .btn {
+    svg {
+      -webkit-transform: translate3d(0,0,0); // Hack: Reduces composer icon jitter while scrolling in Safari on iOS12
+    }
     @media all and (max-width: 350px) {
       padding: 2px 4px;
     }

GitHub sha: 5307e933

2 Likes