Skip to content

Commit 17d98f4

Browse files
authored
fix: lift notifications above modal overlay (#2175)
1 parent 4f91d9a commit 17d98f4

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"dependencies": {
3131
"@braintree/sanitize-url": "^6.0.4",
3232
"@popperjs/core": "^2.11.5",
33-
"@stream-io/stream-chat-css": "^3.13.0",
33+
"@stream-io/stream-chat-css": "^3.14.2",
3434
"clsx": "^2.0.0",
3535
"dayjs": "^1.10.4",
3636
"emoji-mart": "3.0.1",

src/components/MessageList/CustomNotification.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ const UnMemoizedCustomNotification = (props: PropsWithChildren<CustomNotificatio
1818
className={clsx(
1919
`str-chat__custom-notification notification-${type}`,
2020
`str-chat__notification`,
21+
`str-chat-react__notification`,
2122
className,
2223
)}
2324
data-testid='custom-notification'

src/components/MessageList/__tests__/CustomNotification.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ describe('CustomNotification', () => {
2323
expect(tree).toMatchInlineSnapshot(`
2424
<div
2525
aria-live="polite"
26-
className="str-chat__custom-notification notification-undefined str-chat__notification"
26+
className="str-chat__custom-notification notification-undefined str-chat__notification str-chat-react__notification"
2727
data-testid="custom-notification"
2828
>
2929
children

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2256,10 +2256,10 @@
22562256
crypto-browserify "^3.11.0"
22572257
process-es6 "^0.11.2"
22582258

2259-
"@stream-io/stream-chat-css@^3.13.0":
2260-
version "3.13.0"
2261-
resolved "https://registry.yarnpkg.com/@stream-io/stream-chat-css/-/stream-chat-css-3.13.0.tgz#3c49d17baeddf9d48b4fea377387eca23663b5fe"
2262-
integrity sha512-dF0VauSvAVeq+71z9zIru2Jpaj9D3yMK5S2+o1RGApYvGXkl07nS3vcPXv9btZ6c1RFskoVnzG/2xb42P0nleA==
2259+
"@stream-io/stream-chat-css@^3.14.2":
2260+
version "3.14.2"
2261+
resolved "https://registry.yarnpkg.com/@stream-io/stream-chat-css/-/stream-chat-css-3.14.2.tgz#11674178b538e2a7630038a420a642d411ce03de"
2262+
integrity sha512-S54qkFRJ4GwQ0uR36z+m3uv1aYD+Ut/tNG0i/9FpjE/mcqQLcpV7GrTYTfZh0hr5w4m3xJ5N+Mruz/A3BHe5mw==
22632263

22642264
"@stream-io/transliterate@^1.5.5":
22652265
version "1.5.5"

0 commit comments

Comments
 (0)