-
Notifications
You must be signed in to change notification settings - Fork 710
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
Proposal: MUXC ScrollView should implement IScrollAnchorProvider #3164
Comments
@RBrid I'm surprised this isn't already the case.. I this a bug or a feature proposal? |
The interesting thing is that ScrollPresenter does implement that interface, but the ScrollView which contains a ScrollPresenter does not. |
Yes this is intentional - By Design. The ScrollView publicly exposes the three IScrollAnchorProvider APIs and delegates the calls to its inner ScrollPresenter which actually implements the interface. |
@RBrid ScrollView does implement RegisterAnchorCandidate and UnregisterAnchorCandidate, but I can't seem to find the CurrentAnchor property that IScrollAnchorProvider has. Is it missing in the docs or is this intentional too? |
I added it recently - it should be in the code at least: see #2936 "Adding public ScrollView.CurrentAnchor read-only property" I mentioned "I updated the ScrollView spec reviewed here microsoft/microsoft-ui-xaml-specs#56 accordingly." |
Oh must have missed that PR, sorry about that. In that case, there isn't anything to track with this issue then, given that it is by design to not implement the interface on ScrollView but instead on ScrollPresenter. |
Thank you Marcel! |
Proposal: MUXC ScrollView should implement IScrollAnchorProvider
Summary
The muxc ScrollView should implement the IScrollAnchorProvider interface, just like the wuxc version does.
Rationale
Scope
Important Notes
The text was updated successfully, but these errors were encountered: