[wp-trac] [WordPress Trac] #48276: Hide the snackbar action components link on focus

WordPress Trac noreply at wordpress.org
Thu Oct 10 13:50:25 UTC 2019


#48276: Hide the snackbar action components link on focus
--------------------------+-----------------------------
 Reporter:  Mahesh901122  |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Editor        |    Version:  trunk
 Severity:  normal        |   Keywords:  2nd-opinion
  Focuses:  ui            |
--------------------------+-----------------------------
 Default message:

 [[Image(https://maheshwaghmare.files.wordpress.com/2019/10/image-2019-10-10-at-7.11.13-pm.png)]]

 Default message + focus:
 [[Image(https://maheshwaghmare.files.wordpress.com/2019/10/image-2019-10-10-at-7.12.37-pm.png)]]


 I think the possible fix for this issue is update the below selector:

 {{{
 .components-snackbar__action.components-button:not(:disabled):not([aria-
 disabled="true"]):not(.is-default)
 }}}


 with:

 {{{
 .components-snackbar__action.components-button:not(:disabled):not([aria-
 disabled="true"]):not(.is-default):not(:focus)
 }}}

 from files:

 {{{
 wp-includes/css/dist/components/style.css
 wp-includes/css/dist/components/style-rtl.css
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48276>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list