Dropdown listing issue
Closed this issue · 2 comments
iramtay commented
Dropdown listing in the page will not be able to be clicked.
Upon clicking the dropdown, it will closed immediately.
Is there any fix for this?
davetayls commented
You would need to use filterTarget
to stop kinetic activating when clicking on the dropdown. see example in the docs
iramtay commented
Sorry, just tried with filterTarget and the dropdown will not appear.
$('.table-responsive').kinetic({
filterTarget: function(target, e){
if (!/down|up/.test(e.type)){
return !(/select|area|a|input/i.test(target.tagName));
}
}
});