Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Expand/Collapse events triggered only on state change
Expand and collapse events are now dispatched only when the action is actually performed. For example, if an item is already expanded, calling the expand method will not dispatch `expand.collapsable` or `expanded.collapsable` events, since no action occurred. Previously, these events were dispatched regardless of the state. The same behavior change has been applied to collapse-related events.
- Loading branch information