Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(fuselage): Update contextualbar z-index #1428

Merged
merged 4 commits into from
Nov 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading