vue-virtual-scroller icon indicating copy to clipboard operation
vue-virtual-scroller copied to clipboard

Issue with Nested Usage of vue-virtual-scroll Components

Open srackhall opened this issue 11 months ago • 2 comments

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 avatar Mar 09 '24 12:03 srackhall

Tips: use PageMode

srackhall avatar Mar 09 '24 12:03 srackhall

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

srackhall avatar Mar 09 '24 13:03 srackhall