Skip to content

issues Search Results · repo:SortableJS/knockout-sortablejs language:JavaScript

Filter by

7 results
 (83 ms)

7 results

inSortableJS/knockout-sortablejs (press backspace or delete to remove)

Sorting is not working with virtual elements, aka KO comments. Whenever a new comment data bind is rendered, the sorting ends up putting the new element first instead of putting it at the new index
  • mig8447
  • Opened 
    on Apr 1, 2021
  • #15

I define a onMove function to prevent list sorting this way: onMove(event) { console.log( onMove called ); return false; } and pass it to knockout-sortablejs: div data-bind= sortable: ...
  • crystalfp
  • Opened 
    on Feb 14, 2021
  • #14

Hi, Thanks for this wonderfull binding. Only, the following line makes the sorting go wrong when i sort down: if (e.item.previousElementSibling) { // Uit want foute sorting newIndex = to().indexOf(ko.dataFor(e.item.previousElementSibling)) ...
  • guillome2k
  • 6
  • Opened 
    on Jul 12, 2018
  • #12

The problem seems to be in knockout-sortable.js line 124: moveItem(itemVM, removeOperation.collection, addOperation.collection, addOperation.event.clone, addOperation.event); The fourth parameter seems ...
  • patrickguenther
  • 1
  • Opened 
    on Aug 8, 2017
  • #7

Hello, I have an array of items that I populate dynamically this.imgs = ko.observableArray([]); or manually by the user. Each element have an ability to be deleted/removed from list, simple self.imgs.remove(el); ...
  • prowseed
  • Opened 
    on Sep 23, 2016
  • #4

Hi, My list is observable, and depending on the type, sorting should be disabled or enabled, but it seems that when my boolean is updated, it is not in sortable: ul data-bind= sortable: {foreach: layerArray, ...
  • avados
  • 2
  • Opened 
    on Aug 5, 2016
  • #3

If a user clicks an item in the Sortable list, the entire list loses all of the dragging and sorting abilities.
  • NoOutlet
  • 1
  • Opened 
    on Jul 14, 2016
  • #2
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue search results · GitHub