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
Clicking in text while adding dynamic tags clears out text #5491
Comments
This appears to be occurring because the click within the search box is propagating back to the selection area, which is causing the dropdown to be closed and the search box to be cleared as a result. |
The new version 4.7-rc0 does still have this bug. |
same experience with 4.0.7. Any chance to be fixed in the near future? thanks a lot |
same issue here with 4.0.7 |
I looked the code and confirm this. Before i do a PR, what should be the correct behavior?
I think the former is the correct. Also should the dropdown close on click even if not searching? |
@blikblum I would prefer the first one |
Done at #5551 |
This fixes a long-standing bug where if you tried to click in the search box for a multiple select while there was text in it, the dropdown would close and the text would be cleared. This caused many unexpected issues, because it meant that you could only use your keyboard to edit text within the search box. This will still clear out the search field if you click within the area of the selection which is not the search field. I'm not sure if that is also unexpected behaviour, so for now I am going to maintain it. Fixes #3517 Fixes #3808 Fixes #5491 Closes #5551
This fixes a long-standing bug where if you tried to click in the search box for a multiple select while there was text in it, the dropdown would close and the text would be cleared. This caused many unexpected issues, because it meant that you could only use your keyboard to edit text within the search box. This will still clear out the search field if you click within the area of the selection which is not the search field. I'm not sure if that is also unexpected behaviour, so for now I am going to maintain it. Fixes #3517 Fixes #3808 Fixes #5491 Closes #5551
Steps to reproduce (using: https://jsbin.com/hukeravete/edit?html,js,output)
Remarks:
Cheers,
Kevin
The text was updated successfully, but these errors were encountered: