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] Releasing mouse over Snippet ListView trigger navigation even when press was initiated outside the ListView #18

Open
ghost opened this issue Nov 14, 2018 · 1 comment

Comments

@ghost
Copy link

ghost commented Nov 14, 2018

Repro Step

  • Enter a snippet
  • Start press in the xaml or data context (Like when you want to ctrl+c then ctrl+v somewhere else)
  • Release press in the snippet ListView

Current Behavior: After releasing over the ListView, the page navigates to another snippet.
Expected Behavior: Navigation should only occur if the press was initiated and released over the ListView.

@carldebilly
Copy link
Member

In this case, the mouse is captured natively. It seems there's no way to detect this capture.

The right solution would be to filter-out "pointer release" events when there's not "pointer-down" on the list, for the selection.

@carldebilly carldebilly changed the title Releasing mouse over Snippet ListView trigger navigation even when press was initiated outside the ListView [Wasm] Releasing mouse over Snippet ListView trigger navigation even when press was initiated outside the ListView Nov 14, 2018
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

No branches or pull requests

1 participant