Removing focus from the text field when clicking on the ikroll area

I detected some events when the input text field received focus, and some tasks are performed when the focus is removed. I also use iscroll4, but the text box comes out of the scroller. My problem is when the text field gets focus, and I click on the iscroll area that the foucs are not coming from the text field. But if I click on an area outside of iscroll, foucs is removed from the text box. I do not understand why clicking on the iscroll area does not remove focus, while click events work. I defined an event blur.

+3
source share
1 answer

I use iscroll4, and iscroll.jsthe following event is indicated in the file :

onBeforeScrollStart: function (e) {
    if (e.preventDefault) {
        e.preventDefault(); 
    }
}

e.preventDefault, . blur, iscroll, , iscroll , .

+2

All Articles