vandres / craft-matrix-extended

Adds functionality to the native Matrix field type
Other
3 stars 0 forks source link

Bug: Block above throws error, when all elements got deleted #22

Closed vandres closed 2 hours ago

vandres commented 3 hours ago

Reproduction:

  1. Use "Add Block Above"
  2. Remove all elements in the Matrix
  3. The button above is still there
  4. On selection, nothing happens and there is an error in the console

Possible fixes:

Option 1. Check how the button below is solving that. Maybe just a missing container or a wrong selector Option 2. When removing the last element, remove the button above

vandres commented 2 hours ago

fixed in v3.6.1