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

Horizontal dragging auto-scroll #235174

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

thetotemguy
Copy link

Issue: #172652
Problem: horizontal dragging does not autoscroll
Solution:
Extension of vertical autoscroll introduced in #161378
Example:
https://github.com/user-attachments/assets/cee1f841-9a00-42bd-844d-9c4d4cecf1f6

@thetotemguy
Copy link
Author

@microsoft-github-policy-service agree

Comment on lines +573 to +577
let contentRight = layoutInfo.minimap.minimapLeft;
if (contentRight === 0) {
// Happens when minimap is hidden
contentRight = layoutInfo.width - layoutInfo.verticalScrollbarWidth;
}
Copy link
Author

Choose a reason for hiding this comment

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

Is there a better way to find contentRight?

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.

3 participants