Skip to content

Commit f03230e

Browse files
author
Tom Hutman
committed
fix style build, add z-index 0 to message list to force it into its own stacking context, so that reaction lists never cover the autocomplete suggestion list
1 parent 546c8bb commit f03230e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/styles/MessageList.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
overflow-y: auto;
55
-webkit-overflow-scrolling: touch; /* enable smooth scrolling on ios */
66
padding: 0 0 0 0;
7+
position: relative;
8+
z-index: 0;
79
.str-chat__reverse-infinite-scroll {
810
padding-top: 75px;
911
}

src/styles/index.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
// Components
66

7-
@import 'mml-react/src/styles/index.scss';
7+
@import '../../node_modules/mml-react/src/styles/index.scss';
88
@import './vendor/react-file-utils.scss';
99
@import './vendor/emoji-mart.scss';
1010

0 commit comments

Comments
 (0)