spicywebau / craft-neo

A Matrix-like field type for Craft CMS that uses existing fields
Other
403 stars 63 forks source link

[Craft 5] Action Menu won't open after a new Block is added #874

Closed hw-01010 closed 3 months ago

hw-01010 commented 3 months ago

Bug Description

When a block is initially created, the Action menu won't open. After a page reload, the menu opens normally

image

Steps to reproduce

  1. Create Neo Field
  2. Create Entry
  3. Add a Block
  4. Press the action menu dots

Expected behaviour

No response

Neo version

5.0.0-beta.2

Craft CMS version

5.0.0

What is the affected Neo field's propagation method?

No response

Does this issue involve templating, and if so, is eager-loading used?

This is not a templating issue

ttempleton commented 3 months ago

Opening and closing the action menu on new blocks is working for me.

Are there any JavaScript errors showing in your browser console?

hw-01010 commented 3 months ago

Nothing relevant, I think image

I believe it has something to do with the validation error from the Dropdown menu: image

I tested it with another neo Block without a Dropdown menu and it works fine.

ttempleton commented 3 months ago

Thanks for that extra information and for reporting this bug! Fixed now in 5.0.0-beta.4.