[wp-trac] [WordPress Trac] #61959: Enhance Support for `popovertarget` and `popover` Attributes in Native Browser Popover API

WordPress Trac noreply at wordpress.org
Fri Sep 13 06:15:37 UTC 2024


#61959: Enhance Support for `popovertarget` and `popover` Attributes in Native
Browser Popover API
---------------------------+----------------------------------
 Reporter:  harshdeepgill  |       Owner:  (none)
     Type:  enhancement    |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  General        |     Version:  6.6.1
 Severity:  blocker        |  Resolution:
 Keywords:  needs-patch    |     Focuses:  ui, javascript, css
---------------------------+----------------------------------

Comment (by harshdeepgill):

 Replying to [comment:3 adamsilverstein]:
 > @harshdeepgill - is this something that could be implemented as part of
 the Popover component?
 >
 >
 https://github.com/WordPress/gutenberg/blob/trunk/packages/components/src/popover/README.md

 No, its not. It is related to the issue that wp_kses_attr_check seems to
 reject attributes used in native Popover API.
 https://developer.mozilla.org/en-US/docs/Web/API/Popover_API

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


More information about the wp-trac mailing list