[Popover] Should a popover have the ability to be opened by default?
Nobody has claimed this yet.
- Dominant language
- MDX
- Stars
- 4.5k
- Forks
- 226
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 4
Description
For the moment, I think there isn't a way to show a popover by default (on page load) in Chrome Canary
This could be handy for example to show a toast on page load which could be closed afterwards.
I mimic this behaviour by adding some JS in the following demo. But could be handy if I could just add "popover-open" as an attribute.
(scroll the page for to see the toast pop up, I'm combining this with scroll-driven-animation, which would be a cool thing to do)
https://codepen.io/utilitybend/pen/vYQLZEz
I can't seem to recall if this was discussed before.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the issue discussion and the linked CodePen demo in Chrome Canary, including its scroll-driven-animation setup. Determine and document the intended behavior for opening a popover on page load and whether the proposed "popover-open" attribute covers the toast example; done means the behavior and standardization direction are resolved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100