Giter Club home page Giter Club logo

Comments (9)

bozau avatar bozau commented on August 27, 2024 3

@chrizz1001 and @MECLab-Keags I've found that applying a css style of 'min-height' will help allow you to add to empty lists, see the jsfiddle here: https://jsfiddle.net/8e52q8ya/

from sortable.

MECLab-Keags avatar MECLab-Keags commented on August 27, 2024 1

@chrizz1001 Did you manage to resolve this issue? I'm also experiencing some strange behaviour when trying to drag between empty lists.

from sortable.

dardinweb avatar dardinweb commented on August 27, 2024

Hi,

I have exactly the same problem.
Good job for this script.

from sortable.

RubaXa avatar RubaXa commented on August 27, 2024

Yes, strange problem try to solve it for this week.

from sortable.

RubaXa avatar RubaXa commented on August 27, 2024

The problem arises if you do not specify an option draggable.
http://jsfiddle.net/tQ6FL/3/

from sortable.

dardinweb avatar dardinweb commented on August 27, 2024

It's good! thank you.

from sortable.

msurguy avatar msurguy commented on August 27, 2024

specifying the draggable option fixed the problem for me too. Thank you!

from sortable.

chrizz1001 avatar chrizz1001 commented on August 27, 2024

Hi!
First of all: Wonderfull script you did here! Sadly I have to re-open this, as I see the same behavior here.
See my fiddle:
https://jsfiddle.net/dv91ktmh/

As you can see I have set the draggable option as well as the handle option.

Moving Items from one of the source lists to the first list works good. After first sorting action (inside the first list) everything stops working.

I tried both: master and dev branch. Same behavior.

Any hint would be helpfull. Maybe I have some missconfiguration?

from sortable.

Chrescht avatar Chrescht commented on August 27, 2024

I solved this by replacing the <ul id="myList"> with a <div id="myList" class="lane">
lane class has min-height: 8rem;

I did not figure out what specifying a "draggable option" means, respectively it didn't work.

from sortable.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.