Skip to content

[Bug]: Date-Picker Year and Month Dropdowns do not Scroll to the Selected Value When First Opened #3492

@ataboo

Description

@ataboo

Your email

alexander.raboud@gov.ab.ca

Web components version

1.40.0

React or Angular components version

Angular 4.10.0

Expected Behaviour

When opening the year or date dropdown inside the date-picker, the dropdown should scroll down to the selected value so that it is visible.

Actual Behaviour

At time of reporting, the current year of 2026 is selected (blue) but not visible since the dropdown is scrolled to the top.

Replication Steps

This can be reproduced in the docs.

  1. Open the date-picker with no value selected
  2. Open the year drop-down

Assumedly this applies to the month dropdown as well in later months of the year.

Stackblitz URL

No response

Jam.dev URL

No response

Additional context

Image Image

The user can just scroll the dropdown so it's not hugely disruptive, just passing this on since it was confusing some users in testing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions