Skip to content

GAUD-10313 - Fix jitter if pulling the panel backwards when collapsed - #7426

Closed
svanherk wants to merge 1 commit into
mainfrom
GAUD-10313-fix-jitter
Closed

GAUD-10313 - Fix jitter if pulling the panel backwards when collapsed#7426
svanherk wants to merge 1 commit into
mainfrom
GAUD-10313-fix-jitter

Conversation

@svanherk

Copy link
Copy Markdown
Contributor

This may be a Windows-only thing, as I can only make it happen on certain screen sizes/monitors. But if you try to pull the divider backwards while collapsed, you get this jittering:
panel-jitter

You also get the big Windows scrollbar appearing, and then animating away.
scrollbar-jitter

It's really complicated to not have the scrollbar appear at all, since we need it there as we start dragging open.

The easiest way to fix this is to turn off animating until you're actually opening the panel. I think this looks better, but it does mean you "snap back" to closed if you didn't pull the panel far enough to open:
panel-no-jitter

And here it is with a scrollbar:
scrollbar-no-jitter

If this solution is not acceptable, I can go back to the drawing board, but this is the cleanest I've found so far.

@github-actions

Copy link
Copy Markdown
Contributor

Thanks for the PR! 🎉

We've deployed an automatic preview for this PR - you can see your changes here:

URL https://live.d2l.dev/prs/BrightspaceUI/core/pr-7426/

Note

The build needs to finish before your changes are deployed.
Changes to the PR will automatically update the instance.

@svanherk

Copy link
Copy Markdown
Contributor Author

Ignore this for now, still trying to find something better.

@svanherk svanherk closed this Aug 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant