dakboard / Cloud-Platform

Feature requests, enhancements and anything you'd like to see in DAKboard!
https://dakboard.com
168 stars 39 forks source link

Snap to Grid stop working after first movement #1614

Closed cocarrig closed 2 years ago

cocarrig commented 2 years ago

Describe the bug When enabling snap to grid in editor, it will only snap to grid on the first click and drag, all subsequent click and drags do not snap to grid.

To Reproduce Steps to reproduce the behavior:

  1. Access custom screen.
  2. Click and enabled Snap on top left of screen editor.
  3. Click and drag any block, and observe snap to grid functions.
  4. Click and drag the same block a second time and observe snap to grid no longer functions.

Expected behavior Snap to grid should continue to work indefinitely.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information): Browser Chrome on 104 and 105 tested.

Additional context N/A

Dan-Peck commented 2 years ago

Merged in @ 0ec208d and added to the queue for upcoming release to the live site.