Skip to content

save full res in 1 column mode#1875

Merged
adumesny merged 1 commit into
gridstack:masterfrom
adumesny:master
Oct 16, 2021
Merged

save full res in 1 column mode#1875
adumesny merged 1 commit into
gridstack:masterfrom
adumesny:master

Conversation

@adumesny

Copy link
Copy Markdown
Member

Description

fix #1849 #1816

  • always save the layout with the highest resolution no matter what
    current column count is (eg: 12 when in 1 column mode)
    to make sure we keep full resolution on restore.

Checklist

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

fix gridstack#1849 gridstack#1816
* always save the layout with the highest resolution no matter what
current column count is (eg: 12 when in 1 column mode)
to make sure we keep full resolution on restore.
@adumesny adumesny merged commit 8918171 into gridstack:master Oct 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.

grid.save() and page refresh. Original configuration is lost if save is called in oneColumnMode

1 participant