Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OneColumnMode use setColumn(1) #1120

Merged
merged 1 commit into from Feb 2, 2020
Merged

OneColumnMode use setColumn(1) #1120

merged 1 commit into from Feb 2, 2020

Conversation

adumesny
Copy link
Member

@adumesny adumesny commented Feb 2, 2020

Description

Checklist

  • All tests passing (yarn test)
  • Extended the README / documentation, if necessary

* one column mode (<768px by default) now simply calls `setColumn(1)` and remembers prev columns (so we can restore).
* This gives
us full resize/re-order of items capabilities rathern than a locked CSS only layout (see prev rev changes).

* continuation of #1098, will affect #966 as well

* NEXT: fix responsive.html which has been broken for a while.
@coveralls
Copy link

Coverage Status

Coverage increased (+1.0%) to 67.261% when pulling 128e608 on adumesny:develop into 05d9329 on gridstack:develop.

@adumesny adumesny merged commit 621c1ce into gridstack:develop Feb 2, 2020
adumesny added a commit that referenced this pull request Feb 4, 2020
* more fix #37 and part2 of #1120
* editing in 1 column (or few columns) does a better job updating higher layout
* track before and after and move items accordingly. Tracking item swap would be even better still
* column.html demo has been updated to support item delete.
* karma test updated
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.

None yet

2 participants