About this API: https://developer.mozilla.org/en-US/docs/Web/API/Popover_API
React version: any
Steps To Reproduce
<div popover id="my-popover">
Greetings, one and all!
</div>
<button popovertarget="my-popover" popovertargetaction="show">
Open Popover
</button>
<input
type="button"
popovertarget="my-popover"
popovertargetaction="hide"
value="Close Popover"
/>
Link to code example: https://codesandbox.io/s/popover-api-8x5nfq?file=/src/App.js
The current behavior
It works if I change boolean atribute popover to popover="yes".
Also ESLint fails on unknown popover, popovertarget, popovertargetaction attributes.
About this API: https://developer.mozilla.org/en-US/docs/Web/API/Popover_API
React version: any
Steps To Reproduce
Link to code example: https://codesandbox.io/s/popover-api-8x5nfq?file=/src/App.js
The current behavior
Error in console:
popoverattribute wasn't added todivIt works if I change boolean atribute
popovertopopover="yes".Also ESLint fails on unknown
popover,popovertarget,popovertargetactionattributes.