[wp-trac] [WordPress Trac] #39958: Comment reply/cancel links work badly when comment form is above the comment list

WordPress Trac noreply at wordpress.org
Wed Jun 14 04:46:48 UTC 2017


#39958: Comment reply/cancel links work badly when comment form is above the
comment list
--------------------------+------------------------------
 Reporter:  smerriman     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Comments      |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------------------
Changes (by mariovalney):

 * keywords:  needs-patch => has-patch


Comment:

 I added 39958-2.patch​ with two modifications:

 1 - Scroll to comment ID after remove form, so we compensate the content
 added.
 2 - Scroll to form position before focus, so I guess Firefox will not
 jump.

 ''Works nice with a comment form in the bottom.''

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39958#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list