Skip to content

Re #209154. Make execution count sticky. - #224905

Merged
Peng Lyu (rebornix) merged 1 commit into
mainfrom
rebornix/doubtful-carp
Aug 6, 2024
Merged

Peng Lyu (rebornix) merged 1 commit into
mainfrom
rebornix/doubtful-carp

Conversation

@rebornix

@rebornix Peng Lyu (rebornix) commented Aug 6, 2024 •

Copy link
Copy Markdown
Contributor

To make the execution count sticky, in this PR we manually adjust the top of the execution count label element on notebook scroll.

sticky.execution.count.mov

The main challenge here is it flickers when the notebook sticky scroll disappears as it will trigger layouts in two different animation frames: the sticky scroll element disappears in current frame and the notebook list view layouts in next frame, this leads to a misalignment of the execution count label briefly, which is visually annoying.

Thus in this PR we try to do these two layouts at the same time.

@rebornix
Peng Lyu (rebornix) merged commit 6288e5d into main Aug 6, 2024
@rebornix
Peng Lyu (rebornix) deleted the rebornix/doubtful-carp branch August 6, 2024 16:38
@vs-code-engineering vs-code-engineering Bot locked and limited conversation to collaborators Sep 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants