draggable - jquery sortable breaks axis rule. How to fix? -


when use sortable, axis rule becomes inactive (jsfiddle example)

i want item moving horizontally. can help, please?

add axis: x in order limit drag axis:

    $("#sortable").sortable({         axis: "x",         revert: true     });  

demo


Comments

Popular posts from this blog

sql server - NHibernate incorrectly creating ManyToMany table - Cannot define PRIMARY KEY constraint on nullable column error -

All overlapping substrings matching a java regex -

c++ - Using OpenSSL in a multi-threaded application -