Fix "Reply" Comment Button

0

This simple plugin fixes an issue people on mobile devices are experiencing when they are scrolling over the “Reply” button on the comment form, triggering the reply action unintent

Version
Last updated
Active installations
WordPress Version
Tested up to
PHP Version
pa_languages
Rating
Total ratings
Tag
This plugin is outdated and might not be supported anymore.

Description

This simple plugin fixes an issue people on mobile devices are experiencing when they are scrolling over the “Reply” button on the comment form, triggering the reply action unintentionally.

This issue was introduced in WordPress 5.1 and it happens because the touchstart event is not set to passive.

For more information, check the issue tracker

The code was provided by janpaulkleijn