Skip to content

Panel snap issue with options {circular: true, align: 'prev'} #910

@alexmnv

Description

@alexmnv

With options {circular: true, align: 'prev'}, if you drag the panel almost all the way to the left, the panel returns to its original position on the right instead of scrolling to the left as expected. However, if you drag the panel just a little to the left, it scrolls to the left to the next panel as expected.

You can reproduce the issue here: https://codesandbox.io/p/sandbox/mtqppv
Tested with @egjs/flicking version 4.12.0.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions