简体   繁体   中英

input type range not working on iscroll 5

I have an input type range that doesn't work properly (doesn't slide) if I define an IScroll in the same container of the input.

I've added a preventDefaultException:{ tagName: /^(INPUT|TEXTAREA|BUTTON|SELECT|DIV|LABEL)$/ } but still not working.

Any idea how to solve?

EDIT : Adding eventPassthrough: 'horizontal' solved it.

添加eventPassthrough:'horizo​​ntal'解决了它。

Please try using this

preventDefaultException:{ tagName:/.*/ }

also comment out the css properties

  /*  -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  */

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM