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

Grid not extending properly when adding new widgets #580

Open
Bajena opened this issue Jun 23, 2016 · 0 comments
Open

Grid not extending properly when adding new widgets #580

Bajena opened this issue Jun 23, 2016 · 0 comments

Comments

@Bajena
Copy link

Bajena commented Jun 23, 2016

In my project I have a feed-like grid that:

  • supports dragging and dropping new widgets on the grid - widget is added at the bottom of the grid
  • can extend vertically, but not horizontally when adding new widgets
  • Allows saving the grid details in the backend
  • Uses following options:
    max_cols: 6, min_cols: 6, autogenerate_stylesheet: true, widget_base_dimensions: [40, 40], widget_margins: [4, 4]

The grid is not extending vertically after performing following steps:

  1. Add enough widgets to fill the grid vertically
  2. Save the grid
  3. Refresh the page - gridster reloads the grid with previously saved config
  4. Try adding a new widget - it's added, but the grid does not extend properly, so the new widget can't be manipulated.

It's important to note that this issue does not occur when adding widgets to a "fresh" grid.

Drag:
image

Drop:
image

Full height reached, dropping new widget:
image

Grid not extended:
image

It shows up when dragging a higher widget:
image

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 a pull request may close this issue.

1 participant