diff --git a/.changeset/happy-houses-listen.md b/.changeset/happy-houses-listen.md new file mode 100644 index 0000000000..3d612ac44f --- /dev/null +++ b/.changeset/happy-houses-listen.md @@ -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` diff --git a/packages/fuselage/src/components/Contextualbar/Contextualbar.tsx b/packages/fuselage/src/components/Contextualbar/Contextualbar.tsx index 69b51978c0..b115374aa3 100644 --- a/packages/fuselage/src/components/Contextualbar/Contextualbar.tsx +++ b/packages/fuselage/src/components/Contextualbar/Contextualbar.tsx @@ -30,7 +30,7 @@ const Contextualbar = forwardRef( position={position} insetInlineEnd='none' insetBlockStart='none' - zIndex={5} + zIndex={10} {...props} > {children} diff --git a/packages/fuselage/src/components/Contextualbar/__snapshots__/Contextualbar.spec.tsx.snap b/packages/fuselage/src/components/Contextualbar/__snapshots__/Contextualbar.spec.tsx.snap index fcb77d5698..d507556e8b 100644 --- a/packages/fuselage/src/components/Contextualbar/__snapshots__/Contextualbar.spec.tsx.snap +++ b/packages/fuselage/src/components/Contextualbar/__snapshots__/Contextualbar.spec.tsx.snap @@ -7,7 +7,7 @@ exports[`[Contextualbar Rendering] renders Default without crashing 1`] = ` class="rcx-box rcx-box--full rcx-css-1ucnmmp" >