[wp-trac] [WordPress Trac] #60744: 6.5-rc1: ref may be null from getElement() in style bindings

WordPress Trac noreply at wordpress.org
Thu Mar 14 10:28:55 UTC 2024


#60744: 6.5-rc1: ref may be null from getElement() in style bindings
--------------------------+---------------------
 Reporter:  wongjn        |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  6.5
Component:  Editor        |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+---------------------

Comment (by darerodz):

 Yup. As @wongjn mentioned in the previous comment, there are some
 situations where `ref` is expected to be `null`, so this is not an actual
 bug.

 A thoughtful explanation is available at
 https://github.com/WordPress/gutenberg/issues/59757#issuecomment-1996635033.

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


More information about the wp-trac mailing list