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

Need a DirectManipulationCompleting event for ScrollViewer #181

Closed
JustinXinLiu opened this issue Nov 28, 2016 · 4 comments
Closed

Need a DirectManipulationCompleting event for ScrollViewer #181

JustinXinLiu opened this issue Nov 28, 2016 · 4 comments
Assignees
Labels

Comments

@JustinXinLiu
Copy link

JustinXinLiu commented Nov 28, 2016

The DirectManipulationCompleted event of the ScrollViewer fires too late - it only gets called when the animation of the scrolling finishes.

What would be really helpful is to provide an event (maybe something like DirectManipulationCompleting) that would fire as soon as the pointer is released (e.g. finger lifts up from screen).

I had to create hacks for this missing feature. Ugly timers were used in my pull-to-refresh sample here as well as in my Tab control here. I understand that in order to achieve the best performance, the ScrollViewer control uses direct manipulation that swallows normal pointer events. But by providing one extra direct manipulation event it would make many scrolling-based animations possible/easier.

@decademoon
Copy link

Something like this would be a godsend. It's great that the ScrollViewers in XAML are butter-smooth, but they take complete control over the pointer events, making any kind of custom interactions impossible without horrible, horrible hacks. The ScrollViewer has to be the most mysterious control in how it works, most of which is undocumented.

Exposing the ScrollViewer property set was one unexpected bonus at the time, props to the XAML+Composition teams for doing that 👏

@daneuber
Copy link
Member

daneuber commented Aug 7, 2017

Thanks for the feedback. Please open an item in the UserVoice feedback here if you'd like to record this as a requested feature so we can prioritize this among our other backlog items.

@JustinXinLiu
Copy link
Author

I wish this could be the place for us to post Composition-specific feature requests though.

Anyway, here is the link.

@daneuber
Copy link
Member

daneuber commented Aug 7, 2017

Please definitely continue to post Composition feature requests here (we do actively monitor and look at all issues posted here on GitHub)! It is helpful to have an additional posting discoverable on UserVoice for people to vote on who are not actively watching our GitHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants