Skip to content

Conversation

@maxuapro
Copy link

please remove focus from clear

please remove focus from clear
@arunghosh
Copy link
Owner

@maxuapro

Thank you for the contribution :)

The idea behind the focus-on-clear was to set focus on the first element when the values are cleared. Any reason for removing it?

@maxuapro
Copy link
Author

maxuapro commented Aug 24, 2023 via email

@arunghosh
Copy link
Owner

Thank you for the clarification. Your case makes sense. But not sure if it is good to change the existing behavior. I would rather do it via a prop likefocusOnClear and keep the default true.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants