Page 1 of 1

Stock - preventing sorting animation on page load?

Posted: 24 October 2022, 16:46
by salty-horse
I'm using ebg.stock(). When loading the page and populating the stock, it animates the sorting.
I can see the same behavior in many games on BGA, not just mine

I find this inelegant - animation should be used to draw attention to something, and there's nothing that "happens" in the page load, so I want it stock display to load in sorted form without animation.

Is there a way to achieve that with the current stock component?

Re: Stock - preventing sorting animation on page load?

Posted: 02 November 2022, 17:48
by nicotacotac
If you are starting using stock, best option would be to skip it.
There is currently two viable alternative described on wiki, much more elegant than stock ;)

In few words, stock is ok as soon as you don't need to modify anything of its behavior...