Clicking on the very bottom of picker adds a transparent handler
opened this issue · comments
Deleted user commented
kkaminski-github commented
Simple solution is to add extra constraint in initEvents method
const x = e.offsetX - pEl.clientLeft;
const y = e.offsetY - pEl.clientTop;
percentage = x / elDim.w * 100;
if (percentage > max || percentage < min) {
return;
}
if(y > elDim.h || y < 0){
return;
}