Open avados opened 8 years ago
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, disabled: layerEditable(), options: { onEnd: stepSwitchPositionEnd , handle: '.dragHandle'}}">
I was able to go over this problem setting the css for the handle when needed, but the original issue is still there
I suggested a fix (pull request) in issue #5
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, disabled: layerEditable(), options: { onEnd: stepSwitchPositionEnd , handle: '.dragHandle'}}">