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.

Certain options / markup cause Sortable to stop functioning in Firefox

See original GitHub issue
  • setData: false seems to break Firefox altogether
  • Certain markup does not work as a handler

I’m working on an isolated example to illustrate these two problems, but I just wanted to open the issue before I sleep so I don’t forget. Will post the example tomorrow

Repository showing the problem here http://jsbin.com/hofene/1/edit?html,js,output

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:10

github_iconTop GitHub Comments

2reactions
tramposcommented, Aug 7, 2015

I don’t know if its the same issue, but if i just set the setData property with a function that does nothing, it stops working on firefox. Is this an expected behaviour?

http://jsbin.com/qofekivina/1/edit?html,js,output

1reaction
ignoreswingcommented, Oct 2, 2017

@trampos @RubaXa I also face the same problem. When I add the setData property, It works fine on Chrome/Safari while it break down on Firefox. Just like @trampos, Firefox failed even if I provide an empty function.

I found a workaround solution to work on Firefox normally. If setData function add the code dataTransfer.setData('Text', dragEl.textContent) inside Then, it works (although I don’t know why …) jsfiddle

If this is a feature, maybe it should be written on README.md (e.g., you should always provide dataTransfer.setData in function) Or if it is an issue, maybe it can be fixed in the future?

– MAC OX 10.11 (Firefox 55.0.3 & Chrome 61.0)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Handling common HTML and CSS problems - MDN Web Docs
Note: HTML errors don't tend to show up so easily in dev tools, as the browser will try to correct badly-formed markup automatically;...
Read more >
Pop-up blocker settings, exceptions and troubleshooting
Learn what pop-up windows are and what settings Firefox has for blocking or allowing them.
Read more >
Handling common accessibility problems - MDN Web Docs
In this section we'll detail some of the main issues that arise around web accessibility, connected with specific technologies, ...
Read more >
<input type="search"> - HTML: HyperText Markup Language
Any values in the list that are not compatible with the type are not included in the suggested options. The values provided are...
Read more >
Websites don't load - troubleshoot and fix error messages
Make sure other items you want to keep are not selected. Click OK. If clearing Firefox's cookies and cache didn't work, it's probably...
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