Skip to content

W side resize and maxW fix#1521

Merged
adumesny merged 1 commit into
gridstack:developfrom
adumesny:develop
Dec 6, 2020
Merged

W side resize and maxW fix#1521
adumesny merged 1 commit into
gridstack:developfrom
adumesny:develop

Conversation

@adumesny

@adumesny adumesny commented Dec 6, 2020

Copy link
Copy Markdown
Member

Description

fix #1330

  • we now set maxWidth/maxHeight to prevent grid item from resizing past their size
  • fixed code to prevent item from moving left when they reach max width
  • added sample test case

Checklist

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

fix gridstack#1330

* we now set maxWidth/maxHeight to prevent grid item from resizing past
their size
* fixed code to prevent item from moving left when they reach max width
* added sample test case
@adumesny adumesny merged commit 392d411 into gridstack:develop Dec 6, 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.

Max-width does not work as intended with resizable handle "w"

1 participant