From 8c5d6fe6672ef201598d846a1f42f71d54341c97 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Tue, 8 Oct 2019 05:59:45 -0700 Subject: [PATCH] fix: remove iOS sticky workaround (#1556) I'm not sure what changed, but #667 no longer seems to be an issue, so it looks like we can safely remove this workaround. I even tested in a simulator in iOS 11.4 and we don't seem to be affected anymore. --- .../compose/ComposeStickyButton.html | 76 ++----------------- src/scss/global.scss | 5 -- 2 files changed, 8 insertions(+), 73 deletions(-) diff --git a/src/routes/_components/compose/ComposeStickyButton.html b/src/routes/_components/compose/ComposeStickyButton.html index 7c2db601..221a8405 100644 --- a/src/routes/_components/compose/ComposeStickyButton.html +++ b/src/routes/_components/compose/ComposeStickyButton.html @@ -1,5 +1,5 @@
-
@@ -27,29 +27,17 @@ z-index: 5000; top: calc(var(--main-content-pad-top) + var(--sticky-pad-top)); } - - @supports (-webkit-overflow-scrolling: touch) { - .compose-box-button-sticky { - /* disable sticky positioning on iOS due to - https://github.com/nolanlawson/pinafore/issues/667 */ - position: relative; - z-index: 0; - top: 0; - } - }