Hi, after updating to the newest JupyterLab version, my previous code which listens to the scroll event on NotebookPanel stopped working.
notebookPanel.node.addEventListener('scroll', (() => console.log("hi")))
If I substitute ‘scroll’ with ‘click’, it works normally.
I tried to create a new extension with a clean environment and could reproduce this problem.
I wonder if this is because of some changes in the API from 4.0.x to the current version. If so, what is the best way to listen to the scroll event after the update?