egjs-infinitegrid
egjs-infinitegrid copied to clipboard
@egjs/react-infinitegrid moveto ?
I noticed that other issues mention the moveto method, but @egjs/react-infinitegrid doesn't seem to have this method? Can anyone tell me why?
Hello @chenkuangkuang.
moveTo
is a method that was supported in Infinitegrid v3.
As it was removed in Infinitegrid v4, you can implement the same behavior using scroll
on the element.
@malangfox Hi, I would like to click on a category to jump to specific visible items. How can I do this? setCursors doesn't seem to work either
We suggest using scrollTo
after saving the scroll position of the item you want.
This is a demo that moves the scroll position to a specific item.
You may consider using an implementation similar to the demo above.