Skip to content

Prevent expanding the window size when adjusting the split #702

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

Merged
merged 1 commit into from
Apr 14, 2021

Conversation

shepmaster
Copy link
Member

Since we were rotating the entire gutter, it would easily extend
beyond the window boundaries, adding a scrollbar to the entire
playground. Instead, rotate only the handle icon itself. Due to a
limitation with split.js
, we have to also ignore pointer
events on the handle since it's now a child of the gutter.

Since we were rotating the *entire* gutter, it would easily extend
beyond the window boundaries, adding a scrollbar to the entire
playground. Instead, rotate only the handle icon itself. Due to [a
limitation with split.js][limitation], we have to also ignore pointer
events on the handle since it's now a child of the gutter.

[limitation]: nathancahill/split#354
@shepmaster shepmaster added bug The playground isn't doing what it was intended to CI: approved Allowed access to CI secrets labels Apr 14, 2021
@shepmaster shepmaster merged commit ee5e3dd into master Apr 14, 2021
@shepmaster shepmaster deleted the no-scrollbar branch April 14, 2021 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The playground isn't doing what it was intended to CI: approved Allowed access to CI secrets
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant