To make a <select> work with the iScroll option click: true; enabled, the default option for preventDefaultException actually contains the corresponding tag name. However, it only works if the tag is marked up in uppercase letters because the regex does not contain the i flag for case-insensitive match:
preventDefaultException: { tagName: /^(INPUT|TEXTAREA|BUTTON|SELECT)$/ }
it works for me if I override this by:
preventDefaultException: { tagName: /^(INPUT|TEXTAREA|BUTTON|SELECT)$/i }
I believe this should be adjusted in the default value.
To make a
<select>
work with the iScroll optionclick: true;
enabled, the default option forpreventDefaultException
actually contains the corresponding tag name. However, it only works if the tag is marked up in uppercase letters because the regex does not contain thei
flag for case-insensitive match:preventDefaultException: { tagName: /^(INPUT|TEXTAREA|BUTTON|SELECT)$/ }
it works for me if I override this by:preventDefaultException: { tagName: /^(INPUT|TEXTAREA|BUTTON|SELECT)$/i }
I believe this should be adjusted in the default value.