You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've implemented the lib, and when I scroll (without dragging) the page automatically scrolls back to top. It looks like it's related to my infinite scroll (Packery with an async collection), as it seems to happen on the render where the new elements are added. Maybe something the lib does on componentDidMount or componentDidUpdate...
Has anyone run into a similar issue ?
The text was updated successfully, but these errors were encountered:
It's quite a complex implementation, which I didn't write myself, so it will take quite some time to repro. I'd rather avoid it.
New info: the scroll to top happens whenever there's a render and the div has been scrolled. It has nothing to do with new elements being added in the view. I'm going to keep investigating a little to see if I can find the call that triggers it.
I'm also going to test an alternate solution using DragLayer (which I need to implement for dragging multiple elements anyway) using this as a starting point
I've implemented the lib, and when I scroll (without dragging) the page automatically scrolls back to top. It looks like it's related to my infinite scroll (Packery with an async collection), as it seems to happen on the render where the new elements are added. Maybe something the lib does on componentDidMount or componentDidUpdate...
Has anyone run into a similar issue ?
The text was updated successfully, but these errors were encountered: