Skip to content

Commit

Permalink
fix(fuselage): Update contextualbar z-index (#1428)
Browse files Browse the repository at this point in the history
Co-authored-by: Douglas Fabris <[email protected]>
  • Loading branch information
rique223 and dougfabris authored Nov 27, 2024
1 parent 1c8b83e commit 5cfac08
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/happy-houses-listen.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rocket.chat/fuselage": patch
---

Changes the `contextualbar` z-index to avoid UI glitches on pages where it needs to appear on top of the `Table`
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const Contextualbar = forwardRef<HTMLElement, ContextualbarProps>(
position={position}
insetInlineEnd='none'
insetBlockStart='none'
zIndex={5}
zIndex={10}
{...props}
>
{children}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ exports[`[Contextualbar Rendering] renders Default without crashing 1`] = `
class="rcx-box rcx-box--full rcx-css-1ucnmmp"
>
<div
class="rcx-box rcx-box--full rcx-vertical-bar rcx-css-1pzjc7w"
class="rcx-box rcx-box--full rcx-vertical-bar rcx-css-dnnq8h"
>
<div
class="rcx-box rcx-box--full rcx-css-13kuqi8"
Expand Down Expand Up @@ -156,7 +156,7 @@ exports[`[Contextualbar Rendering] renders Empty without crashing 1`] = `
class="rcx-box rcx-box--full rcx-css-1ucnmmp"
>
<div
class="rcx-box rcx-box--full rcx-vertical-bar rcx-css-1pzjc7w"
class="rcx-box rcx-box--full rcx-vertical-bar rcx-css-dnnq8h"
>
<div
class="rcx-box rcx-box--full rcx-css-13kuqi8"
Expand Down Expand Up @@ -237,7 +237,7 @@ exports[`[Contextualbar Rendering] renders Skeleton without crashing 1`] = `
class="rcx-box rcx-box--full rcx-css-1ucnmmp"
>
<div
class="rcx-box rcx-box--full rcx-vertical-bar rcx-css-1pzjc7w"
class="rcx-box rcx-box--full rcx-vertical-bar rcx-css-dnnq8h"
>
<div
class="rcx-box rcx-box--full rcx-css-13kuqi8"
Expand Down

0 comments on commit 5cfac08

Please sign in to comment.