-
Notifications
You must be signed in to change notification settings - Fork 690
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
fix: Fix FlipView SelectedIndex not changing with touch swipes on Wasm #16666
Conversation
src/Uno.UI/UI/Xaml/Controls/ScrollContentPresenter/ScrollContentPresenter.wasm.cs
Outdated
Show resolved
Hide resolved
src/Uno.UI/UI/Xaml/Controls/ScrollContentPresenter/ScrollContentPresenter.wasm.cs
Show resolved
Hide resolved
Co-authored-by: Agnès ZITTE <16295702+agneszitte@users.noreply.github.com>
🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-16666/index.html |
🤖 Your WebAssembly Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-16666/index.html |
var horizontalOffset = GetNativeHorizontalOffset(); | ||
var verticalOffset = GetNativeVerticalOffset(); | ||
var isIntermediate = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it possible that _lastScrollToRequest
is "not possible" (i.e. one of the offset is out of the scrollable range)? Also should we consider some rounding issue and accept like a 1px range?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll verify
GitHub Issue (If applicable): closes #15277
PR Type
What kind of change does this PR introduce?
What is the current behavior?
What is the new behavior?
PR Checklist
Please check if your PR fulfills the following requirements:
Screenshots Compare Test Run
results.Other information
Internal Issue (If applicable):