snapper icon indicating copy to clipboard operation
snapper copied to clipboard

A snapping fling behavior for Jetpack Compose

Results 5 snapper issues
Sort by recently updated
recently updated
newest added

## Describe the bug The app crashes when trying to call the `rememberSnapperFlingBehavior()` function ## To Reproduce Using `rememberSnapperFlingBehavior()` instantly crashes my app since i have updated to the 0.3.0...

## Describe the bug LazyList with snapper doesn't scroll to the item defined by `initialFirstVisibleItemIndex`. ## To Reproduce Steps to reproduce the behavior: ```kotlin val lazyListState = rememberLazyListState(initialFirstVisibleItemIndex = 3)...

It compiles but doesn't work on desktop due to https://github.com/JetBrains/compose-jb/issues/1423. Will need to wait for that to be fixed before continuing. #5

The [documentation](https://chrisbanes.github.io/snapper/usage/#animation-specs) states: > decayAnimationSpec is the main spec used for flinging, and is used when the fling has enough velocity to scroll past the current item. However, how do...

enhancement

How do I scroll to an item programmatically? Also, how do I scroll "past" the beginning or end so that the first or last items of the list can also...