File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
packages/devextreme/js/__internal Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -1972,6 +1972,7 @@ class Scheduler extends Widget<any> {
19721972 ] ,
19731973 popupOptions : {
19741974 wrapperAttr : { class : 'dx-dialog' } ,
1975+ onHidden : ( ) => { this . _appointments ?. focus ( ) ; } ,
19751976 } ,
19761977 } as any ) ;
19771978
Original file line number Diff line number Diff line change @@ -149,7 +149,12 @@ export const custom = function (options) {
149149 position : {
150150 boundaryOffset : { h : 10 , v : 0 } ,
151151 } ,
152- } , options . popupOptions ) ) ;
152+ } , options . popupOptions , {
153+ onHidden : ( { element } ) : void => {
154+ $ ( element ) . remove ( ) ;
155+ options . popupOptions ?. onHidden ?.( { element } ) ;
156+ } ,
157+ } ) ) ;
153158
154159 const buttonOptions = options . buttons || [ DEFAULT_BUTTON ] ;
155160
You can’t perform that action at this time.
0 commit comments