question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Big item can not push smaller item via push.pushItems

See original GitHub issue

Big item can not push smaller item via push.pushItems.

Have functionality to handle minimize & maximize of grid items. I set the size like the example:

const push = new GridsterPush(itemComponent); itemComponent.$item.rows = newRowCount; if (push.pushItems(push.fromNorth)) {...}

This fails when the maximized item has more rows than the items below it that need to be pushed.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:1
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

4reactions
MattMckellercommented, Mar 30, 2018

By the way, I really appreciate your help. and your package. Thank you,

Matt

0reactions
hungtcscommented, Sep 10, 2020

Hi, I ran into the same problem in my project(ng v8), then found this issue. The latest version seems to have fixed this problem. I created two demo, one is version 8.x and another is version 10.x, if you drag the big item from right to left and then you can see the difference

Read more comments on GitHub >

github_iconTop Results From Across the Web

javascript - The best performant way to push items into array?
But for this I would need to know the size of the array, which I don't know, and for creating a big typed...
Read more >
Why do I see a "Cannot shift objects off sheet" message in ...
Generally speaking, you can fix this issue by finding the offending object and either deleting it or moving it further away from the...
Read more >
Piston - Minecraft Wiki
Can be pushed or pulled, but falls if unsupported. Pistons do not move blocks that are "attached to a block", as they detach...
Read more >
Troubleshoot Push API Error Codes - Coveo Documentation
If you're pushing items, ensure that the request body is correctly ... The access token you're using to authenticate your Push API call...
Read more >
Import Items Online | Square Support Center - US
Upload and manage multiple items at once from the online Square Dashboard with the bulk import tool. Note: You will not be able...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found