-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clicking in the minimap doesn't close the context menu #16853
Comments
\assign |
Some pointers: The pointer down handler for minimap is defined here: jupyterlab/packages/ui-components/src/components/windowedlist.ts Lines 1523 to 1538 in c321c27
and called from here (where the default action and propagation also get cancelled): jupyterlab/packages/ui-components/src/components/windowedlist.ts Lines 916 to 922 in c321c27
On a tangent, we might want to allow click + drag action in the future. |
@krassowski Should this be a blocker for 4.3.0, or should it be fixed in 4.3.x or 4.4.0? |
I don't think this is a blocker. This issue is not specific to 4.3 either - it exists in 4.2.x too. I just don't think there is much value in backporting a fix to 4.2.x as the virtual scrollbar was less prominent there. If it gets fixed before 4.3.0 is released - great. If not we probably patch it in 4.3.x |
Hey all, I'm going to take a look into this, if that's okay with everyone. Thanks @krassowski for the pointers on where to start! |
Hmm, after a quick look it seems like letting the event bubble up does the trick, rather than stopping propagation inside the |
I think this would be the right solution. I would double check if |
Description
Explained in the GIF below -
Reproduce
Open a context menu in the minimap and click on the cells in the minimap
Context
The text was updated successfully, but these errors were encountered: