Fix "Reply" Comment Button
v0.1Znuff · 2019年6月12日 上架
Fixes an issue with scrolling trough the comments on mobile devices, unintentionally triggering the "Reply" action.
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 1,546
- 最近更新
- 2019年6月13日
需要 WordPress 5.1+已测试到 5.3.28PHP 5.2+
贡献者
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