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

Dropdowns stay open + non-interactive when focus left browser #6700

Open
tobimori opened this issue Sep 23, 2024 · 1 comment
Open

Dropdowns stay open + non-interactive when focus left browser #6700

tobimori opened this issue Sep 23, 2024 · 1 comment
Labels
type: bug 🐛 Is a bug; fixes a bug

Comments

@tobimori
Copy link
Contributor

tobimori commented Sep 23, 2024

Description

CleanShot 2024-09-24 at 00 11 39@2x

When leaving browser focus and having opened the dropdown for the bg selector beforehand, the button to open will disappear and the dropdown stays locked open (non-interactive) until the block is re-focused again.

To reproduce

  1. Hover over an Image block in a Layout field (haven't tested vanilla Blocks, but should be the same?)
  2. Open the bg selector dropdown
  3. Make sure the tab is still open but no hover/mouse events can be registered by Kirby so the Dropdown button fades out
    -> in my case, I could get this reliably done with a screenshot overlay (CleanShot X), but I was also able to do it just by tabbing out of the browser, however when trying again it might work and might not? Maybe you'll find a reliable way to reproduce this that doesn't require third party tools
  4. The dropdown should now stay open until the Block is re-focused but non-interactive

Your setup

Kirby Version 4.4.1

Your system (please complete the following information)

  • Device: MBP 14
  • OS: macOS Sonoma
  • Browser: Chrome
  • Version: 128.0.6613.138
@afbora
Copy link
Member

afbora commented Oct 6, 2024

If I understand correctly, this is the behavior of the global dropdown component. So all dropdowns in the panel have the same issue.

@distantnative distantnative changed the title Image Block Preview Background Selector Dropdown stays open and is non-interactive when focussing out of browser Dropdowns stay open + non-interactive when focus left browser Dec 7, 2024
@distantnative distantnative added the type: bug 🐛 Is a bug; fixes a bug label Dec 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug 🐛 Is a bug; fixes a bug
Projects
None yet
Development

No branches or pull requests

3 participants