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

Link Toolbar Appears Beneath Floating Toolbar #2688

Closed
mwood23 opened this issue Oct 8, 2023 · 2 comments
Closed

Link Toolbar Appears Beneath Floating Toolbar #2688

mwood23 opened this issue Oct 8, 2023 · 2 comments
Labels

Comments

@mwood23
Copy link

mwood23 commented Oct 8, 2023

Description

The link toolbar appears below the floating toolbar when screen sizes prevent it from showing at the bottom of the screen. Can be reproduced on the demo page.

CleanShot 2023-10-08 at 00 52 54 png oncise description of what the bug is. -->

Funding

  • You can sponsor this specific effort via a Polar.sh pledge below
  • We receive the pledge once the issue is completed & verified
Fund with Polar
@mwood23 mwood23 added the bug Something isn't working label Oct 8, 2023
@12joan
Copy link
Collaborator

12joan commented Oct 8, 2023

The best solution is probably to hide the floating toolbar when neither the editor nor some element inside the toolbar is focused (the latter case being necessary to support keyboard accessibility).

@zbeyens
Copy link
Member

zbeyens commented Oct 8, 2023

To control hiding state of the toolbar, you could use hideToolbar option in useFloatingToolbarState.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants