Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(modal): handle removal of open attribute and prevent multiple bef…
…oreClose calls (#7470) **Related Issue:** #6407 #6379 ## Summary - Add internal property `opened` to maintain open state when beforeBack is rejected and to handle initial animation. - Refactor `beforeClose` default value. - Rename internal close method name to be consistent with internal open method name - Prevent `beforeClose` from being called twice by adding an internal flag to ignore watch changes when necessary. - Tests
- Loading branch information
Showing
3 changed files
with
118 additions
and
47 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
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