Post

cc @una.im for advice here! picker() is a popover, curious if it can be targetted and closed as such? and sounds like you're already aware of the new showPicker(), not sure what's up with a hidePicker()

::picker() is technically a popover but there is some interaction weirdness (see github.com/whatwg/html/...), which stretches to closePopover(). One way to programmatically close it would be to open (& close) another auto popover to close it (though this is super hacky & we need a better solution)

github.comSelects interplay with popover is sometimes surprising. · Issue #12099 · whatwg/htmlWhat is the issue with the HTML Standard? <!doctype html> <select> <option>One</option> <option>Two</option> <option>Three</option> </select> <select id="s2"> <option>One</option> <option>Two</opti...

A togglePicker() and closePicker() would be nice.

0 reposts2 likes

No replies yet.