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

Stability of scroll position, when changing the width

Open tacruc opened this issue 5 years ago • 4 comments
trafficstars

First oft all thanks for the lib. I just tried it in the demo page and noticed. That if I rotate my phone, from vertical to horizontal I do not see a single picture I have Seen before. E.g. scrolling to section header 4 and rotating I had to scroll quite a bit to be back at the header.

If it is possible I think it would be nice if the top left picture would stay in the top left field shown when changing the width. For languages which are read from right to legt I think it should be the top right picture which stays stable in the screen.

tacruc avatar Oct 08 '20 06:10 tacruc

Hello, Thanks for reporting this. It's interesting indeed, not sure how i can do this but I will try to solve this for sure.

Mikescops avatar Oct 08 '20 07:10 Mikescops

I made a few tests earlier today, and i could not find a proper solution as of now without degrading performances.

Mikescops avatar Oct 08 '20 13:10 Mikescops

So then lets keep the performant way for now.

tacruc avatar Oct 08 '20 13:10 tacruc

Indeed, when changing page window width, items are drawn upwards or downwards. It's just a nuance, but of course if the would stay centered, that would be a nice bonus.

MentalGear avatar Nov 26 '20 14:11 MentalGear