simple-scroll-snap
simple-scroll-snap copied to clipboard
onPanelCentered: should it be called right after initialization?
Thank you for creating this tool, it's very helpful and robust.
Just wondering this cos it seems natural to me that when the panels are first set up and one of the panel is centered, the onPanelCentered() callback would be fired. I don't think that is the case right now as both SelectedPanel and CenteredPanel are set to StartingPanel in Setup(), so in SnapToPanel() onPanelCentered() is not fired.