Skip to content

Input blur after selecting a date #5918

Description

@SenaHuang

Describe the bug
Date picker does not blur the input after selecting a date.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://reactdatepicker.com//#example-default
  2. Click on date input field
  3. Select any date
  4. Calendar closes, but input stay focused.

Expected behavior
Calendar closes, input blurs.

Desktop (please complete the following information):

  • OS: iOS 15.6.1
  • Browser: chrome 141.0.7390.66
  • React DatePicker versions tested: 7.6.0 — 8.7.0

Additional context

#4844

This issue was previously resolved, but it has reappeared in later versions (tested in 7.6.0–8.7.0; 4.16.0 is OK).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions