Skip to content

[EuiDatePickerRange] Using minDate and maxDate breaks the year selection popover UI #5058

@ashokaditya

Description

@ashokaditya

If you restrict endDateControl selections based on startDateControl value and vice versa, the popover UI breaks as sometimes years shown are not in multiples of 3.

To reproduce:

  1. Restrict end-date to be selected between start-date value and now, using minDate and maxDate.
  2. Restrict start date to be not greater than the end-date using maxDate.
  3. Click on year selection of either start or end-date inputs.
  4. Observe that the popover shows extra spaced out values, in some cases a blank pop over.

clip
date-picker-bug

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions