Skip to content

fix: layer editor toolbar below modals#5082

Open
ComputelessComputer wants to merge 1 commit intomainfrom
fix/bubble-menu-modal-layer
Open

fix: layer editor toolbar below modals#5082
ComputelessComputer wants to merge 1 commit intomainfrom
fix/bubble-menu-modal-layer

Conversation

@ComputelessComputer
Copy link
Copy Markdown
Collaborator

@ComputelessComputer ComputelessComputer commented Apr 17, 2026

Lower the editor format toolbar z-index so floating chat and modal surfaces stay above it.


Note

Low Risk
UI-only change to the editor floating toolbar’s positioning/portal target; main risk is minor regressions in toolbar placement or visibility in edge cases (selection, scrolling, SSR).

Overview
Adjusts the editor FormatToolbar overlay so it no longer sits above modal/chat surfaces by lowering its stacking context (z-30) and switching from absolute to fixed positioning.

Updates Floating UI positioning to use strategy: "fixed", and renders the portal into #root (falling back to document.body) with an SSR-safe document guard to avoid crashes when document is unavailable.

Reviewed by Cursor Bugbot for commit 701a2c3. Bugbot is set up for automated code reviews on this repo. Configure here.

@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 17, 2026

Deploy Preview for char-cli-web canceled.

Name Link
🔨 Latest commit 701a2c3
🔍 Latest deploy log https://app.netlify.com/projects/char-cli-web/deploys/69e513f03460fd0008c0325d

@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 17, 2026

Deploy Preview for hyprnote ready!

Name Link
🔨 Latest commit 701a2c3
🔍 Latest deploy log https://app.netlify.com/projects/hyprnote/deploys/69e513f064e70d00082ec098
😎 Deploy Preview https://deploy-preview-5082--hyprnote.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 17, 2026

Deploy Preview for unsigned-char ready!

Name Link
🔨 Latest commit 701a2c3
🔍 Latest deploy log https://app.netlify.com/projects/unsigned-char/deploys/69e513f095fe67000736c4cb
😎 Deploy Preview https://deploy-preview-5082--unsigned-char.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 17, 2026

Deploy Preview for fastrepl ready!

Name Link
🔨 Latest commit 701a2c3
🔍 Latest deploy log https://app.netlify.com/projects/fastrepl/deploys/69e513f079d82000082aa72a
😎 Deploy Preview https://deploy-preview-5082--fastrepl.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Comment thread apps/desktop/src/editor/widgets/format-toolbar.tsx Outdated
Lower the editor format toolbar z-index so floating chat and modal surfaces stay above it.
@ComputelessComputer ComputelessComputer force-pushed the fix/bubble-menu-modal-layer branch from ab1372e to 701a2c3 Compare April 19, 2026 17:42
Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 701a2c3. Configure here.

"shadow-[0_0_0_1px_rgba(0,0,0,0.05),0_6px_12px_-3px_rgba(0,0,0,0.08)]",
])}
style={{ top: 0, left: 0 }}
style={{ position: "fixed", top: 0, left: 0 }}
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Redundant inline position: "fixed" duplicates Tailwind class

Low Severity

The inline style sets position: "fixed" while the className already includes the Tailwind fixed utility, which applies the same CSS property. No other component in the codebase combines both. This redundancy could confuse future maintainers if one declaration is updated without the other, creating a subtle inconsistency risk.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 701a2c3. Configure here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant