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

Allow mouseenter/mouseleave events to be disabled

Open EricRabil opened this issue 5 years ago • 2 comments
trafficstars

The mouseenter and mouseleave event listeners have shown some performance issues, and there's some demand for them to be toggleable as a result. This PR adds a prop for disabling these events.

There's no breaking changes – if you don't use the prop, nothing will change.

Usage:

<RecycleScroller :detectHover="false" />

This resolves #178

EricRabil avatar Oct 30 '20 01:10 EricRabil

I had a perf issue where every time my mouse was entering or leaving an item all my visible item was updated. After some research and tests I found that removing those two event fixed it.

This PR would be appreciated.

AMontagu avatar Nov 06 '20 16:11 AMontagu

Sadly, This PR is not include in release

YoungL1107 avatar Jul 18 '22 07:07 YoungL1107

Thanks for your PR! We now already have a skipHover prop. I will merge all the changes from the v1 (for Vue 2) to the Vue 3 version soon!

Akryum avatar Oct 14 '22 15:10 Akryum

Hi, Akryum: Seens document missing skipHover at Props part?

vue-virtual-scroller - Props

lctech-bill avatar Jul 26 '23 07:07 lctech-bill