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

Fix issue on focus element when has preselected values #307

Conversation

bmarcelino-fe
Copy link
Contributor

This PR is for fixing an issue on VirtualSelect when using popup mode and preselected values make the focus go to the dropdown when entering the screen.

What was happening

  • When using popup mode and preselected values make the focus go to the dropdown when entering the screen;

What was done

  • Added a validation on method afterHidePopper to only focus on element when doesn't have initial value or has values, in order to prevent the focus when is entering on a screen with preselected values;

@gnbm gnbm merged commit 690cab4 into sa-si-dev:master Feb 20, 2024
@gnbm gnbm mentioned this pull request Mar 10, 2024
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