Skip to content

No Programmatic way to close a time picker popup? #221

Open
@mpaccione

Description

@mpaccione

We have to have validation to ensure that someone doesn't pick an end date that comes before a start date.

Currently if we prevent the value from setting the second stage for setting minutes in the time picker gets bugged. It arbitrarily picks an hour selector despite us setting the controlled value to a blank string "".

I've tried using a ref to de-focus / blur the input in hopes that the popup would disappear however it doesn't. I also tried a direct click() on the modal component to simulate a click outside of the input but that too does not close the picker.

What is the approach to programmatically close the time picker popup?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions