oddbird / popover-polyfill

Polyfills the HTML popover attribute and showPopover/hidePopover/togglePopover methods onto HTMLElement, as well as the popovertarget and popovertargetaction attributes on <button> elements.
BSD 3-Clause "New" or "Revised" License
247 stars 14 forks source link

Add support for slotting elements into popovers #215

Closed Totati closed 1 month ago

Totati commented 1 month ago

Description

Adds support for slotting elements into a popover

Related Issue

214

Steps to test/reproduce

  1. Go to https://codepen.io/Totati/pen/abgOBPP
  2. Click on "Open popover" button.
  3. Click on the red area. It's the slotted element.

Note: I could not run playwright!

netlify[bot] commented 1 month ago

Deploy Preview for popover-polyfill ready!

Name Link
Latest commit cb6cce3c51bb09af7c39e82cce2d6a6383e52c09
Latest deploy log https://app.netlify.com/sites/popover-polyfill/deploys/669a0cf5e431dc0008b077d8
Deploy Preview https://deploy-preview-215--popover-polyfill.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.