You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like the custom dialog is not fit for when no buttons are provided. I wonder if in that case we should just always provide a default OK button.
TypeError: Cannot read property 'focus' of undefined
at Promise (:9888/out/vs/base/browser/ui/dialog/dialog.js:154)
at new Promise (<anonymous>)
at Dialog.<anonymous> (:9888/out/vs/base/browser/ui/dialog/dialog.js:55)
at Generator.next (<anonymous>)
at :9888/out/vs/workbench/browser/web.main.js:10
at new Promise (<anonymous>)
at __awaiter (:9888/out/vs/workbench/browser/web.main.js:6)
at Dialog.show (:9888/out/vs/base/browser/ui/dialog/dialog.js:53)
at Proxy.<anonymous> (:9888/out/vs/platform/dialogs/browser/dialogService.js:82)
at Generator.next (<anonymous>)
The text was updated successfully, but these errors were encountered:
bpasero
added
bug
Issue identified by VS Code Team member as probable bug
dialogs
Issues with native and custom dialogs
labels
Aug 12, 2019
@sbatten yeah I made the about dialog available to web and simply wanted to test it without any button first. I am not sure native operating systems allow you to actually bring up dialogs without buttons, so having a default OK button seems about right.
Looks like the custom dialog is not fit for when no buttons are provided. I wonder if in that case we should just always provide a default OK button.
The text was updated successfully, but these errors were encountered: