Skip to content

PipsPager: after orientation change, selected element is not brought into view #3724

@beervoley

Description

@beervoley

Describe the bug

During the runtime, after orientation change, selected element is not brought into view.

Steps to reproduce the bug

Steps to reproduce the behavior:

  1. Create PipsPager with number of pages = 20
  2. By using arrows or by clicking on pips themselves scroll to page 15.
  3. During the runtime, change the orientation
  4. Observer that the selected pip # 15 was not brought into view (you cannot see it on the screen).

Expected behavior

After the orientation change, the selected element should be correctly brought into view in the position it was in before.

Screenshots

Before orientation change:
image

After:
image

Version Info

NuGet package version:

PipsPager was not released yet.

Windows app type:

UWP Win32
Windows 10 version Saw the problem?
Insider Build (20262) Yes
May 2020 Update (19041) Yes
November 2019 Update (18363)
May 2019 Update (18362)
October 2018 Update (17763)
April 2018 Update (17134)
Fall Creators Update (16299)
Creators Update (15063)
Device form factor Saw the problem?
Desktop Yes
Xbox
Surface Hub
IoT

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions