iframes eat mouse events
sccolbert opened this issue · 2 comments
sccolbert commented
When Jyve opens a new activity tab with iframe content, that iframe eats mouse events. This is noticeable when attempting to resize the panel using a splitter, since the splitter never gets the mouse event when the mouse is over the iframe.
The solution for this is a CSS trick (which is automatically applied if you use the jlab iframe widget):
https://github.com/jupyterlab/jupyterlab/blob/master/packages/apputils/style/iframe.css#L17-L35
https://github.com/jupyterlab/jupyterlab/blob/master/packages/apputils/src/iframe.ts#L13
bollwyvl commented
Looks to be sorted up on demo! Thanks @sccolbert!
sccolbert commented
Awesome!