-
Notifications
You must be signed in to change notification settings - Fork 29.9k
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
Adjust cell diff editor height based on viewport size #115150
Comments
Good catch! |
This one is a difference case. Previously we always do a JSON format for the outputs and then render all lines, so when it has many lines, it would be more than one viewport, which is the same as now. The difference is now we limit the height to 1440px. Let's polish this in next iteration. |
@rebornix my monitor isn't that tall, the gif shows the scrollbar going out of view which is really bad. I'm pretty certain the majority of users are still on 1080p monitors, I suggest you base it off the viewport size instead of a magic number in this version. |
We now do this in notebook editor and the multi file diff editor does the same. We could look into adopting this approach for the DiffEditorWidgets in the notebook diff view. |
Please can you clarify what you mean by |
Testing #114969
Notice how the icon is blurry when clicking, that's how long it remains slow. Selection/editing in the diff editor is really slow as well, I believe this is because monaco is so large so it's creating so many dom elements.
The text was updated successfully, but these errors were encountered: