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

Propagate scroll from backdrop #652

Merged
merged 4 commits into from
Oct 30, 2023

Conversation

krassowski
Copy link
Member

@krassowski krassowski commented Oct 28, 2023

References

Fixes jupyterlab/jupyterlab#14881

Code changes

  • makes the .lm-cursor-backdrop scrollable using a pseudo-element and stlyes, but hiding the scrollbar
  • propagates intercepted scroll events to relevant element with data-lm-dragscroll property
  • adds top/left to .lm-cursor-backdrop as in Add default top/left for .lm-mod-drag-image #651

User-facing changes

Restoring scrolling in browser when dragging cells:

fixed-scrolling-notebook

Once jupyterlab/jupyterlab#15318 is in, also enables scrolling in file browser with selection

after-file-browser

Backwards-incompatible changes

None

@krassowski krassowski added the bug Something isn't working label Oct 28, 2023
Copy link
Member

@fcollonval fcollonval left a comment

Choose a reason for hiding this comment

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

Thanks @krassowski

I only have a small suggestion.

@krassowski krassowski merged commit f4e065b into jupyterlab:main Oct 30, 2023
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to scroll when cells are selected
2 participants