Skip to content

Conversation

@adumesny
Copy link
Member

Description

  • to support html5 D&D we now allow ourself to e a drop target when moving
    item around, otherwise we get a 'no drop' cursor the entire move
  • we ignore the 'dropover' & 'drop' event so regular 'dragend' will do the right thing.
  • tested html5 and JQ version - no apparent side effect
  • Note: we still get a very quick flicker to 'no-drop' initially (until
    accept routine is called ? not sure how to prevent that.

Checklist

  • Created tests which fail without the change (if possible)
  • All tests passing (yarn test)
  • Extended the README / documentation, if necessary

* to support html5 D&D we now allow ourself to e a drop target when moving
item around, otherwise we get a 'no drop' cursor the entire move
* we ignore the 'dropover' & 'drop' event so regular 'dragend' will do the right thing.
* tested html5 and JQ version - no apparent side effect
* Note: we still get a very quick flicker to 'no-drop' initially (until
accept routine is called ? not sure how to prevent that.
@adumesny adumesny merged commit e3d7c7b into gridstack:develop Nov 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant