Skip to content

Add support for the ScrollViewer.CurrentAnchor #4548

Description

@dr1rrb

What would you like to be added:

https://docs.microsoft.com/en-us/uwp/api/windows.ui.xaml.controls.scrollviewer.currentanchor?view=winrt-19041

Why is this needed:

#4529

Lot of tests are failing due to the lack of support of this property.

For which Platform:

  • iOS
  • Android
  • WebAssembly
  • WebAssembly renderers for Xamarin.Forms
  • macOS
  • Skia
    • WPF
    • GTK (Linux)
    • Tizen
  • Windows
  • Build tasks
  • Solution Templates

Anything else we need to know?

Activity

  1. added
    kind/enhancement
    triage/untriaged
    on Nov 17, 2020
  2. added
    project/input ⌨️
    and removed
    triage/untriaged
    on Nov 23, 2020
  3. added
    difficulty/tbd
    on Feb 15, 2021
  4. added
    area/scrollviewer ⏬
    difficulty/medium 🤔
    and removed
    difficulty/tbd
    on Jun 7, 2021
  5. added
    area/skia ✏️
    on May 22, 2024
  6. github-actions commented on Jul 28, 2025

    @github-actions
    Contributor

    Hey there — just a heads-up that this issue has been quiet for over a year. If there’s no update or comment in the next 10 days, it’ll be closed automatically. Feel free to remove the stale label or drop a note to keep it open.

  7. added
    stale
    on Jul 28, 2025
  8. changed the title [-]Add support for the ScrollViewer.CurrentAnchor[/-] [+]Add support for the `ScrollViewer.CurrentAnchor`[/+] on Jul 28, 2025
  9. MartinZikmund commented on Jul 28, 2025

    @MartinZikmund
    Member

    Still relevant

  10. removed
    stale
    on Jul 28, 2025
  11. MartinZikmund commented on Apr 7, 2026

    @MartinZikmund
    Member

    Repro generator

    This issue was classified as not reproducible with a code sample or test.

    Reason: ScrollViewer.CurrentAnchor is stubbed to always return null in ScrollViewer.cs. Implementing scroll anchoring requires complex logic to track which element is currently anchored during scrolling. A test that verifies CurrentAnchor is non-null after scrolling would require a full implementation of the anchoring algorithm first.

  12. added 2 commits that reference this issue on Apr 15, 2026
    8bd6f40
    e22a31c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/scrollviewer ⏬area/skia ✏️area/skia/features ✏️difficulty/medium 🤔kind/enhancementno-reproproject/input ⌨️

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions