mattbryson / TouchSwipe-Jquery-Plugin

TouchSwipe is a jquery plugin to be used with jQuery on touch input devices such as iPad, iPhone etc.
http://labs.rampinteractive.co.uk/touchSwipe/
Other
4.05k stars 1.68k forks source link

"TouchSwipe.js" and "Select2.js" conflict in Internet Explorer? #313

Closed jinch closed 6 years ago

jinch commented 7 years ago

I found a conflict between "TouchSwipe.js" and "Select2.js" that breaks functionality in Internet Explorer. Apparently you can't include both plugins on one page without breaking the Select-2 drop downs. This only happens in Explorer, all other browsers are fine.

THIS EXAMPLE DEMONSTRATES THE ISSUE

> Do you know what may be causing this and a possible work around to get these plugins to play nice in IE?

jinch commented 7 years ago

Resolved by adding the .select2 class to the exluded elements: http://labs.rampinteractive.co.uk/touchSwipe/docs/tutorial-Excluded_children.html i.e. (excludedElements:"label, button, input, select, textarea, .noSwipe, .select2")

mattbryson commented 6 years ago

Closing as over a year old. Please feel free to re open if you are still having issues.