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

Issue with Nested Usage of vue-virtual-scroll Components #862

Open
4 tasks done
srackhall opened this issue Mar 9, 2024 · 2 comments
Open
4 tasks done

Issue with Nested Usage of vue-virtual-scroll Components #862

srackhall opened this issue Mar 9, 2024 · 2 comments

Comments

@srackhall
Copy link

Describe the bug

I encountered a bug related to the nested usage of components provided by vue-virtual-scroll. The nesting involves an outer vertical virtual list and an inner horizontal virtual list.

The bug manifests as follows: Click events on elements of the inner horizontal list can be triggered normally by default. However, after horizontal scrolling, when returning to the original position, the events can no longer be triggered properly.

Reproduction

  1. Set up a vue-virtual-scroll with nested vertical and horizontal lists.
  2. Click on an element in the inner horizontal list - observe that the event is triggered.
  3. Scroll horizontally.
  4. Return to the original position and click on the same element - observe that the event is not triggered.

System Info

win10
chrome

Used Package Manager

npm

Validations

@srackhall
Copy link
Author

Tips: use PageMode

@srackhall
Copy link
Author

image
Perhaps these abnormal doms are blocking the normal item doms. This should not be difficult to solve

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

No branches or pull requests

1 participant