[wp-trac] [WordPress Trac] #49540: Regression: Copy action now scrolls up the page on the privacy policy guide.
WordPress Trac
noreply at wordpress.org
Sun Mar 1 17:55:59 UTC 2020
#49540: Regression: Copy action now scrolls up the page on the privacy policy
guide.
---------------------------------------+------------------------------
Reporter: garrett-eclipse | Owner: garrett-eclipse
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 5.4
Component: Privacy | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch has-screenshots | Focuses: ui
---------------------------------------+------------------------------
Comment (by birgire):
thanks @garrett-eclipse, I was copying the default one.
I wonder how [attachment:"49540-2.diff"] works for you, as I still can't
verify it :-)
It uses the fallback approach for {{{scrollIntoViewIfNeeded()}}} from
@afercia,
also changes {{{event.target}}} to {{{$target}}} and uses {{{false}}}
input to {{{scrollIntoView()}}}.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49540#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list