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

fix: Fix FlipView SelectedIndex not changing with touch swipes on Wasm #16666

Merged
merged 3 commits into from
May 10, 2024

Conversation

Youssef1313
Copy link
Member

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:

Other information

Internal Issue (If applicable):

@github-actions github-actions bot added the platform/wasm 🌐 Categorizes an issue or PR as relevant to the WebAssembly platform label May 9, 2024
Youssef1313 and others added 2 commits May 10, 2024 10:05
Co-authored-by: Agnès ZITTE <16295702+agneszitte@users.noreply.github.com>
@github-actions github-actions bot added the area/automation Categorizes an issue or PR as relevant to project automation label May 10, 2024
@unodevops
Copy link
Contributor

🤖 Your Docs stage site is ready! Visit it here: https://unodocsprstaging.z13.web.core.windows.net/pr-16666/index.html

@unodevops
Copy link
Contributor

🤖 Your WebAssembly Sample App stage site is ready! Visit it here: https://unowasmprstaging.z20.web.core.windows.net/pr-16666/index.html

@Youssef1313 Youssef1313 merged commit aaf65e0 into unoplatform:master May 10, 2024
103 checks passed
@Youssef1313 Youssef1313 deleted the issues/15277 branch May 10, 2024 11:44
var horizontalOffset = GetNativeHorizontalOffset();
var verticalOffset = GetNativeVerticalOffset();
var isIntermediate =
Copy link
Member

@dr1rrb dr1rrb May 10, 2024

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?

Copy link
Member Author

Choose a reason for hiding this comment

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

I'll verify

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/automation Categorizes an issue or PR as relevant to project automation platform/wasm 🌐 Categorizes an issue or PR as relevant to the WebAssembly platform
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[wasm] FlipView does not increase SelectedIndex when swiping on mobile devices
6 participants