Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Always honor scroll intent on mousewheel #15487

Merged
merged 1 commit into from Aug 31, 2017
Merged

Conversation

as-cii
Copy link
Contributor

@as-cii as-cii commented Aug 29, 2017

Fixes #15467

This pull-request introduces a change in the way we respond to mousewheel events. In particular, if -1 < delta * scrollSensitivity < 1, we will scroll up or down by 1 in an attempt to honor the user's scroll intent.

/cc: @iolsen @lee-dohm @ungb @nathansobo

This commit introduces a change in the way we respond to mousewheel
events. In particular, if `delta * scrollSensitivity` is less than 1 or
greater than -1, we will round it up or down in an attempt to honor the
user's scroll intent.
@@ -1209,7 +1209,6 @@ describe('TextEditorComponent', () => {
}

{
global.debug = true
Copy link
Contributor

Choose a reason for hiding this comment

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

🙈

@as-cii as-cii merged commit 12e6740 into master Aug 31, 2017
@as-cii as-cii deleted the as-scroll-sensitivity branch August 31, 2017 09:28
as-cii pushed a commit that referenced this pull request Aug 31, 2017
Always honor scroll intent on mousewheel
as-cii pushed a commit that referenced this pull request Aug 31, 2017
Always honor scroll intent on mousewheel
as-cii pushed a commit that referenced this pull request Sep 2, 2017
Always honor scroll intent on mousewheel
as-cii pushed a commit that referenced this pull request Sep 5, 2017
Always honor scroll intent on mousewheel
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.

None yet

2 participants