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][2.6.3] v-autocomplete hide selected with many items does not show all items without scrolling #17085

Closed
whoptidoo opened this issue Apr 5, 2023 · 1 comment
Assignees
Labels
C: VSelect VSelect T: bug Functionality that does not work as intended/expected
Milestone

Comments

@whoptidoo
Copy link

Environment

Vuetify Version: 2.6.3
Vue Version: 2.6.14
Browsers: Chrome 111.0.0.0
OS: Windows 10

Steps to reproduce

click the autocomplete and add all items in the list, notice that the actual list contains 40 items
and only 20 can be added before "no data available is displayed."

Expected Behavior

All items in the list should be possible to add this way.

Actual Behavior

All items are not available unless the user scrolls the dropdown before adding all items.

Reproduction Link

https://codepen.io/whoptidoo/pen/NWOKYLj?editors=101

Other comments

This example is from the Vuetify docks the only difference is a list of more than 20 items and hide-selected

@KaelWD KaelWD added T: bug Functionality that does not work as intended/expected C: VSelect VSelect and removed S: triage labels Jun 1, 2023
@KaelWD KaelWD modified the milestones: v2.7.0 (Nirvana), v2.6.x Jun 1, 2023
@KaelWD KaelWD self-assigned this Jun 1, 2023
@github-actions github-actions bot closed this as completed Jun 1, 2023
@creage
Copy link

creage commented Jul 18, 2023

@KaelWD This change fails our tests

TypeError: Cannot set properties of undefined (setting 'scrollTop')

      at node_modules/vuetify/dist/webpack:/Vuetify/src/components/VSelect/VSelect.ts:757:38
      at invokeTheCallbackFunction (node_modules/jsdom/lib/jsdom/living/generated/Function.js:19:26)
      at runAnimationFrameCallbacks (node_modules/jsdom/lib/jsdom/browser/Window.js:603:13)
      at Timeout._onTimeout (node_modules/jsdom/lib/jsdom/browser/Window.js:581:11)

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

No branches or pull requests

3 participants