Skip to content

Bug: Moveable + Selecto : Cannot set properties of null (setting 'dist') #960

@CarlMahnke1

Description

@CarlMahnke1

Environments

Moveable 0.49.0
Selecto 1.25.0

Description

I have a very basic scenario with two moveable divs and also selecto in place. When you move the divs around, one after the other, you notice sometimes an error in the console. The result is, that the div wont move.

The issue does not occur, when you deselect everything first, before you go on to move the next div.

2023-06-27.14-10-04.mp4

Basic Demo at:
https://codepen.io/Carl-Mahnke/pen/QWJdoeJ

The issue does also occur in the storybook:
https://daybrush.com/moveable/storybook/?path=/story/combination-with-other-components--components-selecto

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcomplete

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions