Skip to content

How to position based on container #560

@IsmaFunes

Description

@IsmaFunes

I'm trying to center an element in the middle of its container and only allow to drag it inside it. Is there a way to do that without having to calculate it myself?

Also, how to grab the x and y values on the onStop handler based on the container size instead of window size?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions