[wp-trac] [WordPress Trac] #52215: conflict with useBlockProps()

WordPress Trac noreply at wordpress.org
Mon Jan 4 11:37:55 UTC 2021


#52215: conflict with useBlockProps()
--------------------------+-----------------------------
 Reporter:  picfab        |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Hi

 I have a conflict when I use apiVersion: 2.
 I create a map with leaflet and a geosearch.
 When I use useBlockProps and activate apiVersion: 2, the component it's
 rerender when the mouse mouve. And this action close automatically the
 search box. It's because the component rerender.
 Somebody have a solution for prevent this rerender ?

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


More information about the wp-trac mailing list