getkirby / kirby

Kirby's core application folder
https://getkirby.com
Other
1.31k stars 168 forks source link

Image Block Preview Background Selector Dropdown stays open and is non-interactive when focussing out of browser #6700

Open tobimori opened 1 month ago

tobimori commented 1 month ago

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)

afbora commented 3 weeks ago

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