The reference element for domRoot is the parent of the parent element of the widgets. This might be a bit volatile to changes in the JupyterLab version. Using document.body also works but then the snackbar gets displayed outside of the tabs on top of JupyterLab UI. Using this.node for the domRoot does not work.
The reference element for
domRoot
is the parent of the parent element of the widgets. This might be a bit volatile to changes in the JupyterLab version. Usingdocument.body
also works but then the snackbar gets displayed outside of the tabs on top of JupyterLab UI. Usingthis.node
for thedomRoot
does not work.Closes #172