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

Modal : Change the "transformX|Y" css property to "top or left" for a fixed position item

Open AousAnwar opened this issue 6 years ago • 2 comments
trafficstars

A small change for a particular use case.

The css Transform property create a new scope inside the browser, so the item with fixed position is positioned relatively to the nearest parent with the transform property (.vue-recycle-scroller__item-view) and not the browser itself.

Here I'm adding a "modal" property the the item object, when set to true, it replace "transform (x or y)" with "left or top" depending on the "direction" also unset the css "will-change" property.

Typical use case : zoom in modal for images or video display

AousAnwar avatar Feb 23 '19 18:02 AousAnwar

aby updates on this pull request, might be useful for dynamic scroller as well

crow7m avatar Feb 06 '20 09:02 crow7m

Hello, can this be merged? I have this issue

bobaoapae avatar Aug 14 '20 19:08 bobaoapae

I'm not sure we want to change this as it might degrade performance.

Akryum avatar Oct 14 '22 15:10 Akryum

Deploy Preview for vue-virtual-scroller-demo failed.

Name Link
Latest commit ed426ae4385b4b0f0869d5232a38c4a3f41c9b8c
Latest deploy log https://app.netlify.com/sites/vue-virtual-scroller-demo/deploys/64c3bf7da06d0900089dc900

netlify[bot] avatar Jul 28 '23 13:07 netlify[bot]