Skip to content

Frequent Transient Bug when moving or resizing #805

@yehhor

Description

@yehhor

Subject of the issue

In some case items becomes stuck, so I cant move it to another position, after trying mulitple times resizing it or drag, it becomes unstuck, but I can not understand the dependence.

Your environment

  • gridstack version from your github
  • tested only in Chrome 56 - 62 both Linux and Win.
  • I have project built with angularjs 1.5.11 with plain gridstack library (not angularjs-wrapper), but in demo I implemented steps without angular to decrease the complexity, but it still reproduces.
  • Also it should be mentioned that I am using gridstack from develop branch, since there is the bug in master branch that affects me (Setting min-height for gridstack container makes the grid stack item not resizable #628)

Steps to reproduce

Demo: https://jsfiddle.net/wdt2jv7e/4/, but as I mentioned before, I can not form clear steps to reproduce, because it happens sometimes, and sometimes not.

Expected behaviour

I expect it should not stuck.

Actual behaviour

Mostly every 8-10 "dragging-session" cause item to stuck, try to make it at least 0.5 of gridstack size and try to drag out of gridstack area.
In some cases it becomes stuck to one position/size and cant be resized/dragged to another position.

I will be grateful for any help, thanks!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions