Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assigning px values to snapDestination is not working #34

Closed
lucafalasco opened this issue Jan 22, 2021 · 0 comments · Fixed by #35
Closed

Assigning px values to snapDestination is not working #34

lucafalasco opened this issue Jan 22, 2021 · 0 comments · Fixed by #35
Assignees
Labels

Comments

@lucafalasco
Copy link
Owner

Passing a pixel value as snapDestination doesn't currently work as expected:

snapDestinationY: '980px',

We should also accept numeric values

snapDestinationY: 980
@lucafalasco lucafalasco self-assigned this Jan 22, 2021
lucafalasco added a commit that referenced this issue Jan 22, 2021
Fixes #34 , handle numeric input, general refactor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant