Skip to content
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

Hide completer when changing notebook tabs #14534

Merged

Conversation

nishikantparmariam
Copy link
Contributor

References

Closes #14496

@jupyterlab-probot
Copy link

Thanks for making a pull request to jupyterlab!
To try out this branch on binder, follow this link: Binder

root added 2 commits May 23, 2023 09:36
…re other mousedown events with preventDefault and stopPropogation
@nishikantparmariam nishikantparmariam marked this pull request as ready for review July 17, 2023 10:02
@nishikantparmariam nishikantparmariam changed the title [WIP] Hide completer when changing notebook tabs Hide completer when changing notebook tabs Jul 17, 2023
Copy link
Member

@krassowski krassowski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This works well for me, I don't think this would cause any trouble with Notebook 7.

I will wait for a second look from @fcollonval as per discussion on the issue: #14496 (comment)

@krassowski
Copy link
Member

Two weeks have passed, no objections - I am merging this because I believe this simply restores previous behaviour after transition from mousedown to pointerdown in lumino. Future enhancements that further benefit Notebook interface can be added separately :)

@krassowski krassowski merged commit 0b33a5c into jupyterlab:main Oct 7, 2023
76 of 79 checks passed
@krassowski
Copy link
Member

@meeseeksdev please backport to 4.0.x

@krassowski
Copy link
Member

@meeseeksdev please backport to 3.6.x

meeseeksmachine pushed a commit to meeseeksmachine/jupyterlab that referenced this pull request Oct 9, 2023
krassowski added a commit that referenced this pull request Oct 18, 2023
… changing notebook tabs) (#15244)

* Backport PR #14534: Hide completer when changing notebook tabs

* Backport PR #15237: Fix completer tests after transition to pointer events

Cherry-picked from commit 206368a.

---------

Co-authored-by: Nishikant Parmar <nishikantparmar123@gmail.com>
Co-authored-by: Michał Krassowski <5832902+krassowski@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Completer widget not hiding when TabBar is clicked to change notebooks
2 participants