Skip to content

don't allow drop when grid is full#1575

Merged
adumesny merged 1 commit into
gridstack:developfrom
adumesny:develop
Jan 16, 2021
Merged

don't allow drop when grid is full#1575
adumesny merged 1 commit into
gridstack:developfrom
adumesny:develop

Conversation

@adumesny

Copy link
Copy Markdown
Member

Description

Checklist

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

* fix gridstack#1571
* dragenter checks for full grid using `willItFit()` before accepting an item
* also cleanup h5 dd-droppable to not add listner or remove them uncessarly.
@adumesny adumesny merged commit 7b05db1 into gridstack:develop Jan 16, 2021
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.

Item should not allow drop when grid full

1 participant