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

[WASM] Can't drag Slider with touch #12044

Closed
morning4coffe-dev opened this issue Apr 23, 2023 · 3 comments
Closed

[WASM] Can't drag Slider with touch #12044

morning4coffe-dev opened this issue Apr 23, 2023 · 3 comments
Assignees
Labels
difficulty/medium 🤔 Categorizes an issue for which the difficulty level is reachable with a good understanding of WinUI kind/bug Something isn't working platform/wasm 🌐 Categorizes an issue or PR as relevant to the WebAssembly platform project/input ⌨️ Categorizes an issue or PR as relevant to input (Button, CheckBox, Toggle, Scroll, Map, Numeric,...) project/pointers 🖱️ Categorizes an issue or PR as relevant to mouse/touch/pen pointers

Comments

@morning4coffe-dev
Copy link
Member

morning4coffe-dev commented Apr 23, 2023

Current behavior

When trying to drag the Slider I noticed that it didn't behave properly. Sometimes it does move in the right direction but very slowly, sometimes it gets stuck and sometimes it goes the opposite direction. Edge sometimes shows the controls for going back when sliding (visible on the video bellow). This happens on all targets except for WinUI/UWP

uno-slider-issue.mp4

Expected behavior

The Slider should be draggable as on any other platform and mostly with mouse too.

How to reproduce it (as minimally and precisely as possible)

This issue doesn't seem to be replicable in Playground as it works fine there. But go to https://gallery.platform.uno or https://toolkitlabs.dev/ and try to drag a Slider with touch.

Workaround

No response

Works on UWP/WinUI

Yes

Environment

No response

NuGet package version(s)

No response

Affected platforms

All targets except Windows.

IDE

No response

IDE version

No response

Relevant plugins

No response

Anything else we need to know?

No response

@morning4coffe-dev morning4coffe-dev added difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification labels Apr 23, 2023
@jeromelaban jeromelaban added project/input ⌨️ Categorizes an issue or PR as relevant to input (Button, CheckBox, Toggle, Scroll, Map, Numeric,...) and removed triage/untriaged Indicates an issue requires triaging or verification labels Apr 24, 2023
@nguyeenvy
Copy link

This issue seems to have been resolved. It is no longer a problem on WASM.

@MartinZikmund MartinZikmund changed the title [WASM] Can't drag Slider with touch [WASM] Can't drag Slider with touch Sep 11, 2023
@MartinZikmund
Copy link
Member

This is still a problem, at least in Microsoft Edge on Windows (and I presume all browsers with gesture based navigation) - trying to slide the Slider also triggers the back navigation gesture and it is very easy to navigate away from the Uno application completely

slider

@MartinZikmund MartinZikmund added project/pointers 🖱️ Categorizes an issue or PR as relevant to mouse/touch/pen pointers difficulty/medium 🤔 Categorizes an issue for which the difficulty level is reachable with a good understanding of WinUI platform/wasm 🌐 Categorizes an issue or PR as relevant to the WebAssembly platform and removed difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. labels Sep 11, 2023
@Youssef1313 Youssef1313 self-assigned this Oct 26, 2023
@Youssef1313
Copy link
Member

Fixed with #14132

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty/medium 🤔 Categorizes an issue for which the difficulty level is reachable with a good understanding of WinUI kind/bug Something isn't working platform/wasm 🌐 Categorizes an issue or PR as relevant to the WebAssembly platform project/input ⌨️ Categorizes an issue or PR as relevant to input (Button, CheckBox, Toggle, Scroll, Map, Numeric,...) project/pointers 🖱️ Categorizes an issue or PR as relevant to mouse/touch/pen pointers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants