1.3.6
MacOS Sierra 10.12.5, Chrome 58.0.3029.110 (64-bit)
2.3.4
https://jsfiddle.net/pj71jkyw/295/
all the codes are shown in the jsfiddle.
The open callback should be called after the dlg opened
The open callback function is not called
open and close only triggers when the visibility of Dialog changes. For example, if the initial visibility of Dialog is false, which means dialogVisible being false in your case, do you expect the close event be triggered once it's mounted? I suppose not. Same goes to open event when the Dialog is initially visible.
So, if you want the open event to be triggered, just change Dialog's visibility: https://jsfiddle.net/pj71jkyw/297/
Most helpful comment
openandcloseonly triggers when the visibility of Dialog changes. For example, if the initial visibility of Dialog is false, which meansdialogVisiblebeing false in your case, do you expect thecloseevent be triggered once it's mounted? I suppose not. Same goes toopenevent when the Dialog is initially visible.So, if you want the
openevent to be triggered, just change Dialog's visibility: https://jsfiddle.net/pj71jkyw/297/