getkirby / kirby

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

[3.6.0-rc.2] Blocks stuck as selected in blocks in layout field #3856

Closed afbora closed 2 years ago

afbora commented 2 years ago

Describe the bug

When clicking (normal click, not multiselect) on blocks in different layouts in the layout field within the block field , it stays selected.

# sample blueprint
fields:   
  blocks:
    type: blocks
    fieldsets:
      test:
        fields:
          layout:
            type: layout

Steps

  1. Add a block
  2. Add multiple layouts in drawer
  3. Add blocks (for ex line block to see clear) for each layout
  4. Now try to click/select blocks
  5. See issue

Screenshots

screen-capture-1228-Test - Mægazine-localhost

Kirby Version

3.6.0-rc.2

afbora commented 2 years ago

Because we are still working in the same block, the blur event is not triggered, I guess..

bastianallgeier commented 2 years ago