Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DateRangeInput(Field) returned focus after dates selection #198

Closed
fbeceic opened this issue Feb 8, 2024 · 0 comments · Fixed by #199
Closed

DateRangeInput(Field) returned focus after dates selection #198

fbeceic opened this issue Feb 8, 2024 · 0 comments · Fixed by #199
Labels
bug Something isn't working

Comments

@fbeceic
Copy link
Collaborator

fbeceic commented Feb 8, 2024

Basic information

  • Tiller version: 1.8.0
  • Module: date

Bug description

When selecting a date from the date picker in the DateRangeInput(Field) component and then interacting with a different form element (e.g., Input), focus unexpectedly returns to the DateRangeInput(Field). This behaviour breaks the expected user flow and creates a poor user experience.

While Pull Request #185 successfully addressed issues with inconsistent focus between components, it inadvertently introduced this new focus behavior.

Steps to reproduce

  1. Select a date range from the date picker
  2. Select a different component after dates selection

Expected behavior

After dates selection and clicking on a different component the focus should shift to the clicked component and not back to the DateRangeInput(Field).

Actual behavior

Selecting a different component after dates selection returns the focus to DateRangeInput(Field).

@fbeceic fbeceic added the bug Something isn't working label Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant