Skip to content

SmoothScrollIntoView will scroll to the new offset even after is already scrolled to the correct position #4136

Open
@Vijay-Nirmal

Description

@Vijay-Nirmal

Describe the bug

SmoothScrollIntoView will scroll to the new offset even after is already scrolled to the correct position. This will happen only when item placement is Default and Scroll If Visible is true.

Steps to Reproduce

  • Can this be reproduced in the Sample App?
  1. Give a horizontal offset with item placement as Default and Scroll If Visible as true
  2. Click Start Smooth Scrolling multiple time

Expected behavior

Need to discuss

Screenshots

e41dsOlLdn

Environment

NuGet Package(s): Not Released / Master Branch

Package Version(s): Not Released / Master Branch

Windows 10 Build Number:
- [x] Fall Creators Update (16299)
- [x] April 2018 Update (17134)
- [x] October 2018 Update (17763)
- [x] May 2019 Update (18362)
- [x] May 2020 Update (19041)
- [x] Insider Build (build number: )

App min and target version:
- [x] Fall Creators Update (16299)
- [x] April 2018 Update (17134)
- [x] October 2018 Update (17763)
- [x] May 2019 Update (18362)
- [x] May 2020 Update (19041)
- [x] Insider Build (xxxxx)

Device form factor:
- [ ] Desktop
- [ ] Xbox
- [ ] Surface Hub
- [ ] IoT

Visual Studio
- [ ] 2017 (version: )
- [ ] 2019 (version: )
- [ ] 2019 Preview (version: )

Additional context

Original discussion: #4129 (comment) and #4129 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🐛An unexpected issue that highlights incorrect behaviorextensions ⚡

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions