forked from vmware-clarity/core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(modal): rerender when action slot is added
- the slot decorator doesnt update when the slot changes, so a slot listener must be added - a slot lister cannot be added to a slot that doesnt exist - instead, always render the slot, but use the hidden attribute - the slot change event will force the component to update and get the new value of the slot property fixes vmware-clarity#188
- Loading branch information
Ashley Ryan
committed
Nov 2, 2022
1 parent
17b5842
commit 9e4c267
Showing
2 changed files
with
39 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters