daybrush / moveable

Moveable! Draggable! Resizable! Scalable! Rotatable! Warpable! Pinchable! Groupable! Snappable!

Home Page:https://daybrush.com/moveable/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug: calling `trigger` for ables that are disabled causes a variety of issues

SidIcarus opened this issue · comments

Environments

  • Framework name: vanilla js
  • Moveable Component version: 0.53

Description

For any triggerable able, disable it and then call trigger on it. Interacting with the targets afterwards causes issues.

A developer can prevent this issue by checking to see if the able is enabled before triggering it. But, I believe the library itself should prevent its state from getting messed up like this in the first place.