jQuery UI Touch Punch leads to errors
-
Hello everyone,
On my website there were problems with a form for submitting recipes via the mobile view from the Cooked Pro plugin.
After intensive research with the developer, the the issue is related to the Events Manager plugin. The plugin uses a jQuery plugin called “jQuery UI Touch Punch”.
The homepage for this plugin is: https://github.com/furf/jquery-ui-touch-punch
But as you can see the last update was 11 years ago. And there are over 200 bugs: https://github.com/furf/jquery-ui-touch-punch/issues
Because there was no support, some people decided to fork the plugin and extend it themselves here: https://github.com/RWAP/jquery-ui-touch-punch
The solution was to edit this file: wp-content/plugins/events-manager/includes/js/events-manager.js
And within that file update the section that contains the UI Touch Punch library with the new one from this: https://raw.githubusercontent.com/RWAP/jquery-ui-touch-punch/refs/heads/master/jquery.ui.touch-punch.js
The only problem with this solution is that, next time when the Events Manager plugin updates, I might lose this change.
Are there plans to provide a solution in an update?
The topic ‘jQuery UI Touch Punch leads to errors’ is closed to new replies.