Skip to content

fix(scrollviewer): a ScrollViewer should not scroll an outer ScrollViewer - #14129

Merged
MartinZikmund merged 2 commits into
unoplatform:masterfrom
ramezgerges:nested_scrollviewer_scrolling
Oct 30, 2023
Merged

MartinZikmund merged 2 commits into
unoplatform:masterfrom
ramezgerges:nested_scrollviewer_scrolling

Conversation

@ramezgerges

@ramezgerges ramezgerges commented Oct 26, 2023 •

Copy link
Copy Markdown
Contributor

GitHub Issue (If applicable): closes #14125

PR Type

What kind of change does this PR introduce?

  • Bugfix

What is the current behavior?

What is the new behavior?

Copilot Summary

🤖 Generated by Copilot at d2cd21f

This pull request enhances the scroll viewer control by improving the pointer wheel event handling and adding a new test case. It fixes the issue of nested scroll viewers not scrolling properly and aligns the Uno behavior with the WinUI behavior. It modifies the ScrollContentPresenter.cs file and the Given_ScrollViewer.cs file.

PR Checklist

Please check if your PR fulfills the following requirements:

Other information

Internal Issue (If applicable):

@ramezgerges

Copy link
Copy Markdown
Contributor Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 2 pipeline(s).

@MartinZikmund
MartinZikmund merged commit af754cb into unoplatform:master Oct 30, 2023
@ramezgerges
ramezgerges deleted the nested_scrollviewer_scrolling branch October 30, 2023 10:08
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.

An inner ScrollViewer nested inside an outer ScrollViewer is scrolled, the outer one is scrolled as well

2 participants