feat(NcActions): Emit closed event only when the actions are fully closed#6065
feat(NcActions): Emit closed event only when the actions are fully closed#6065
closed event only when the actions are fully closed#6065Conversation
|
What about close/closed ? I usually prefer to have both options when there is an animation :) |
The "state changed but still visible" event is already available with So if you need the Maybe we should rename the event in the next major to |
Or keep both 🙈 |
Only if one is deprecated in v8 and removed in v9. Otherwise why have 2 names for an event? |
|
|
5bb6b1d to
f17f588
Compare
close event only when the actions are fully closedcloses event only when the actions are fully closed
closes event only when the actions are fully closedclosed event only when the actions are fully closed
Antreesy
left a comment
There was a problem hiding this comment.
Good point
We have the same events firing at NcAppSidebar, should be noted/fixed there as well?
The flow is like: 1. Close the actions 2. `update:open` with `false` is emitted (+ deprecated 'close' event) 3. Actions popover closes (transistion) 4. `closed` is emitted Signed-off-by: Ferdinand Thiessen <[email protected]>
f17f588 to
c729694
Compare
☑️ Resolves
The flow is like:
update:openwithfalseis emittedcloseis emittedFixes flashing changes in the menu if you have conditionals like submenus.
🏁 Checklist
nextrequested with a Vue 3 upgrade