Fix "Reply" Comment Button

By Znuff

0+ active installationsVersion 0.1

Fixes an issue with scrolling trough the comments on mobile devices, unintentionally triggering the "Reply" action.

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

Installation

  1. Install plugin
  2. Activate
  3. ??
  4. Profit

Changelog

0.1

First and hopefully only release.