Skip to content

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

FIX: Further fix for Chat-settings/member list failing to scroll on IOS/iPadOS, fix member item width overflowing the container (#38606)

small-lovely-catbd27a6d9bf18
diff --git a/plugins/chat/assets/stylesheets/common/base-common.scss b/plugins/chat/assets/stylesheets/common/base-common.scss
index 9833778bad5..547fd6e614c 100644
--- a/plugins/chat/assets/stylesheets/common/base-common.scss
+++ b/plugins/chat/assets/stylesheets/common/base-common.scss
@@ -21,7 +21,14 @@ html.ios-device.composer-open body {
html.ios-device.has-full-page-chat body {
position: fixed;
- overflow: scroll;
+ overflow: hidden;
+}
+
+html.ios-device.has-full-page-chat body #main-outlet {
+ .c-routes.--channel-info {
+ @include chat-height;
+ overflow-y: auto;
+ }
}
.uppy-is-drag-over .chat-composer .drop-a-file {
diff --git a/plugins/chat/assets/stylesheets/common/chat-channel-members.scss b/plugins/chat/assets/stylesheets/common/chat-channel-members.scss
index 79be4b595d9..fcd98cabfe8 100644
--- a/plugins/chat/assets/stylesheets/common/chat-channel-members.scss
+++ b/plugins/chat/assets/stylesheets/common/chat-channel-members.scss
@@ -21,6 +21,7 @@
cursor: pointer;
.-user-info {
+ width: 100%;
border: 0 none;
display: flex;
flex-grow: 1;
diff --git a/plugins/chat/assets/stylesheets/common/chat-height-mixin.scss b/plugins/chat/assets/stylesheets/common/chat-height-mixin.scss
index 55369b3f97d..650dcbe3c61 100644
--- a/plugins/chat/assets/stylesheets/common/chat-height-mixin.scss
+++ b/plugins/chat/assets/stylesheets/common/chat-height-mixin.scss
@@ -1,4 +1,4 @@
-@mixin chat-height($inset: 0) {
+@mixin chat-height($inset: 0px) {
// desktop and mobile
// -1px is for the bottom border of the chat navbar
$base-height: calc(