onDrag event doesn't trigger
Closed this issue · 0 comments
taneltm commented
onDragStart and onDragEnd events trigger just fine, but onDrag event doesn't.
That is because in the binding:
.bind('mousemove.splitter', function(e) {
...
if (current_splitter.orientation == 'vertical') {
...
current_splitter.find('.splitter_panel').trigger('splitter.resize');
return false;
...
}
if (current_splitter.orientation == 'horizontal') {
...
current_splitter.trigger('splitter.resize');
return false;
...
}
settings.onDrag(e);
}
"return false;" is always called and "settings.onDrag(e);" is never reached.