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.

option 'pull' of 'group' malfunction with function as value

See original GitHub issue

https://jsfiddle.net/Vatel/uw6cy3rp/11/

reproduce: drag any item from group1 to group2, and then drag it back to group1, and this item is never able to interact with other items, and error raises in console, saying ‘Cannot read property ‘element’ of null’.

it bugs out when the group option is like: group: { name: 'asdf1', pull: () => 'clone', put: ['asdf', 'asdf1'] }

took me years to locate the cause…

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
BubbleBearcommented, Aug 2, 2017

@David-Desmaisons hi, master. my current use case is to control a component’s behavior so that it clones it’s contains when dragging to some specific components while doesn’t in the other situations. for example: 2 i wish that the items in the yellow block clones itself only if it is being dragged to left-bottom.

0reactions
David-Desmaisonscommented, Nov 28, 2018

Duplicate of #504

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using custom functions in Power Query - Microsoft Learn
An article on how to create custom functions in Power Query. ... Right-click on the Binary value of your choice from the Content...
Read more >
How to Fix a 'Not a GROUP BY Expression' Error
Option 1. Add the city column to GROUP BY . If you want the city to be displayed in the output, you'll need...
Read more >
Why the Pivot Table Group Field Button is Disabled for Dates
Learn why the pivot table date group feature is disabled, grayed out, or does not work, and a few quick tips for finding...
Read more >
Excel Formulas Not Working: Possible Reasons and How to ...
To do this, click the Formula tab and in the 'Formula Auditing' group, click on the Error Checking drop-down icon (the small downward...
Read more >
Functions - Advanced R. - Hadley Wickham
Function components describes the three main components of a function. Lexical scoping teaches you how R finds values from names, the process of...
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