File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -1369,6 +1369,15 @@ export default {
13691369 })
13701370 },
13711371
1372+ onClosed () {
1373+ /**
1374+ * Event emitted when the popover menu is closed.
1375+ *
1376+ * This event is emitted after `update:open` was emitted and the closing transition finished.
1377+ */
1378+ this .$emit (' closed' )
1379+ },
1380+
13721381 /**
13731382 * Handle resizing the popover to make sure users can discover there is more to scroll
13741383 */
@@ -1760,7 +1769,8 @@ export default {
17601769 setReturnFocus: this .config .withFocusTrap ? this .$refs .triggerButton ? .$el : null ,
17611770 focusTrap: this .config .withFocusTrap ,
17621771 onShow: this .openMenu ,
1763- onApplyShow: this .onOpen ,
1772+ onAfterShow: this .onOpened ,
1773+ onAfterClose: this .onClosed ,
17641774 onHide: this .closeMenu ,
17651775 },
17661776 {
You can’t perform that action at this time.
0 commit comments