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

Improve native browser search support in full windowed mode (hidden: until-found) #16328

Open
krassowski opened this issue May 14, 2024 · 0 comments
Labels
Milestone

Comments

@krassowski
Copy link
Member

Problem

When searching notebooks in full windowing mode by using the native browser search function (rather than JupyterLab search box) not all results are shown because the cells which are out of view are not rendered (these are either detached or hidden using display: none.

Proposed Solution

The HTML spec now includes a hidden: until-found attribute which corresponds to content-visibility: hidden but is included in search results and revealed when user iterates through the browser search results. For an example usage see MDN.

For now this is only implemented in Chrome/Edge

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants