Skip to content

A platform for community discussion. Free, open, simple.

FIX: iOS/iPadOS freezing when changing notification level in topic footer

Penar Musaraj8633e3cae83b
diff --git a/app/assets/stylesheets/common/select-kit/topic-notifications-button.scss b/app/assets/stylesheets/common/select-kit/topic-notifications-button.scss
index b3808031a1d..7563c8bb977 100644
--- a/app/assets/stylesheets/common/select-kit/topic-notifications-button.scss
+++ b/app/assets/stylesheets/common/select-kit/topic-notifications-button.scss
@@ -16,3 +16,15 @@
}
}
}
+
+// This is a weird fix for a weird issue in iOS/iPadOS, the browser freezes
+// when changing the notification level while in the fullscreen topic footer.
+// This prevents the selected option icon from being hidden while saving,
+// and somehow that makes Safari happy.
+.timeline-fullscreen {
+ .topic-notifications-button.is-loading {
+ .selected-name .d-icon {
+ display: inline-flex;
+ }
+ }
+}