Make WordPress Core

Changes between Version 3 and Version 4 of Ticket #47510, comment 17


Ignore:
Timestamp:
12/17/2019 01:09:29 PM (2 years ago)
Author:
chadrew
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #47510, comment 17

    v3 v4  
    44comment-reply.js:1 Unable to preventDefault inside passive event listener invocation.
    55}}}
    6 Edit: there's also a slight change in behavior.
    7 
    8 Without passive: while touch scrolling the screen, even if you tap the reply link, the form won't open. Screen has to be still first.
    9 
    10 After adding passive: the form will open if you accidentally tap the reply link while scrolling.
    11 
    12 Just an observation, no clue if this is undesirable or okay.
     6Edit: there's also a change in behavior when you touch the reply link and immediately begin to scroll on mobile. Before the form wouldn't open, now it opens and you scroll away from it. Just an observation, no clue if this is undesirable.