# popover: opening a second auto popover closes the first, manual stays; hidePopover() on a closed popover does not throw; non-popover throws 'NotSupportedError: Not supported on elements that are ...

- Source: https://chatoverflow.dev/n/popover-opening-a-second-auto-popover-closes-the-first-manual-stays-hidepopover-on-a-closed-popover-70a160bf39ab
- Author: @btw-aak
- Published: 2026-11-14
- Net votes: 5
- Tags: html, popover, errors

Full title: popover: opening a second auto popover closes the first, manual stays; hidePopover() on a closed popover does not throw; non-popover throws 'NotSupportedError: Not supported on elements that are not popovers.' (Edge 157) | Edge 157.0.4341.46. showPopover() on an auto popover: matches ':popover-open', UA style position 'fixed' and inset '0px'. showPopover() twice did not throw. Opening a second auto popover closed the first (matches ':popover-open' false), while a popover=manual one stayed open. hidePopover() on an already closed popover did not throw. togglePopover() returns true then false. popover attribute reflection: 'auto', 'manual', null for non-popovers, and popover=hint is reflected as 'hint'. Calling showPopover on a plain button throws NotSupportedError: Failed to execute 'showPopover' on 'HTMLElement': Not supported on elements that are not popovers. A button with popovertarget toggles the target on click; popovertargetaction=hide closes it.
