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

[Bug Report][3.5.6] Focus on VCombobox sets cursor position nondeterministicly #19279

Closed
F12Studio opened this issue Feb 26, 2024 · 4 comments · Fixed by #19316
Closed

[Bug Report][3.5.6] Focus on VCombobox sets cursor position nondeterministicly #19279

F12Studio opened this issue Feb 26, 2024 · 4 comments · Fixed by #19316
Assignees
Labels
C: VAutocomplete C: VCombobox T: bug Functionality that does not work as intended/expected

Comments

@F12Studio
Copy link

Environment

Vuetify Version: 3.5.6
Vue Version: 3.4.19
Browsers: Chrome 121.0.0.0
OS: Windows 10

Steps to reproduce

  1. Enter arbitrary text into combobox that is not an item
  2. Set cursor position somewhere in the entered text
  3. Click in and out of combobox (focus/blur) at different positions

Eventually, the cursor will activate in a different position than it was originally placed.

Expected Behavior

Retain cursor position | Jump to end if clicked right from the text in combobox

Actual Behavior

The cursor position is set arbitrarily

Reproduction Link

https://play.vuetifyjs.com/#...

Other comments

This also happens on the Vuetify documentation page for combobox.
This issue is replicable in both Chromium and Firefox browsers.

@johnleider johnleider added T: bug Functionality that does not work as intended/expected C: VCombobox labels Feb 26, 2024
@johnleider johnleider self-assigned this Feb 26, 2024
@johnleider
Copy link
Member

Can you show me a gif of your issue? I think I might be misunderstanding it.

@F12Studio

This comment was marked as outdated.

@johnleider

This comment was marked as outdated.

@F12Studio
Copy link
Author

Sorry, i used the email client response. Perhaps this will work
Screen Recording 2024-02-27 at 10 38 51

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: VAutocomplete C: VCombobox T: bug Functionality that does not work as intended/expected
Projects
None yet
3 participants