TU-Wien-dataLAB / Grader-Service

Grader Service offers lecturers and students a well integrated teaching environment for data science, machine learning and programming classes.
https://grader-service.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
27 stars 2 forks source link

Add domRoot to SnackbarProvider #174

Closed meffmadd closed 6 months ago

meffmadd commented 6 months ago

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.

Closes #172