Vestride / Shuffle

Categorize, sort, and filter a responsive grid of items
https://shuffle.js.org
MIT License
2.38k stars 281 forks source link

Not a bug - Is there a way to have it update positions when browser resizing is finished? #559

Closed bit-pax closed 9 months ago

bit-pax commented 9 months ago

I noticed it will try to reposition items while the browser is being resized. I was wondering if there's an option for it to only resize when the browser resizing is done?

Vestride commented 9 months ago

No, there isn’t a way to disable that. Though you could modify the private resize observer property if you really wanted to

https://github.com/Vestride/Shuffle/blob/ecc4d8a57d95c770feae66df2488fe4f5d4f03bc/packages/shuffle/src/shuffle.js#L1009-L1012