Skip to content

Conversation

tjhaygood
Copy link

Adds "retainTextOnClick" option addressing issue #1498.

Please advise as to whether using a 0-second setTimeout is bad practice/unacceptable - in my testing it seemed to be the most reliable way to ensure that the "select" event fired last, which made the text being highlighted after clicking on the dropdown the most consistent. I also tried this.$nextTick() and using an event listener for click on the search input, using this.searchEl.select() in either of those didn't work consistently.

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.

1 participant