Skip to content

clampStep seems to teleport the position sometimes, instead of sliding, other times it slides when it should allow passage #167

@hamzakubba

Description

@hamzakubba

I made a repro codesandbox of the issue in action:
https://codesandbox.io/s/crazy-ully-9k98qs?file=/src/App.js
(you also change x to 7 at the top of the file to see the box correctly slide at first)

And in the other direction, sort of the opposite happens as well, where it gets stuck along the edge between polygons:
https://codesandbox.io/s/goofy-goodall-h27mny?file=/src/App.js

Thank you so much!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions