Skip to content

[codex] Honor min size during empty cell drag#999

Open
nexiumbiz-debug wants to merge 1 commit into
tiberiuzuld:masterfrom
nexiumbiz-debug:codex/fix-empty-cell-min-drag-417
Open

[codex] Honor min size during empty cell drag#999
nexiumbiz-debug wants to merge 1 commit into
tiberiuzuld:masterfrom
nexiumbiz-debug:codex/fix-empty-cell-min-drag-417

Conversation

@nexiumbiz-debug

Copy link
Copy Markdown
Contributor

Summary

  • size initial empty-cell items to at least the configured minItemCols/minItemRows
  • keep empty-cell drag previews at the configured minimum size when dragging only horizontally or vertically
  • preserve the starting cell as the anchor while expanding in the drag direction

Fixes #417.

Validation

  • npm run test-lib -- --watch=false
  • npm run build-lib
  • npx eslint projects/angular-gridster2/src/lib/gridsterEmptyCell.ts projects/angular-gridster2/src/lib/tests/gridsterEmptyCell.spec.ts
  • git diff --check

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.

Create item from empty cell

1 participant