du5rte / react-skroll

Reactive Scrolling
MIT License
40 stars 10 forks source link

Would you be open to speed based scroll snapping? #6

Closed younanjo closed 5 years ago

younanjo commented 6 years ago

Hi,

I've been looking at your lib and whilst i can fork and do my own thing, i was wondering if you think scroll speed based snapping would be useful for this module.

right now, the snapping only occurs where user has stopped scrolling, i was thinking to introduce another option, where snapping (autoFrame) can occur when scroll speed < x.

du5rte commented 6 years ago

@younanjo Might be a good new feature :) I'm open to ideas!