Skip to content

Snap Grid snaps to incorrect places with restricting #554

Description

@Aetherpoint

Hi! Been really loving interact.js, thanks so much for providing it - it's clear and easy to use.

For some reason though when creating a snap grid with a restriction, the draggable item seems to fall outside the grid proportions. Have a fiddle here: http://jsfiddle.net/uhf0m1jj/.

Wasn't sure if I was just doing something wrong? This may be related to or a duplicate of #208

Edit: Seems to be relating with any sort of shift in location of the drag area and event.dx returning odd values.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions