Allow to change Popover popper style on a per-basis Popover
See original GitHub issueDescription
I would like to change the style of only some popovers I have.
Currently, I have to change the style in the theme. But this changes the style of every popover I have. I would like to rather do this:
<Popover maxW="unset" w="unset">
...
</Popover
Problem Statement/Justification
I would like to change the style of only some popovers I have.
Proposed Solution or API
Allow something like:
<Popover maxW="unset" w="unset">
...
</Popover
Alternatives
No response
Additional Information
No response
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Popovers - Bootstrap
Documentation and examples for adding Bootstrap popovers, like those found in iOS, to any element on your site.
Read more >css - Changing the width of Bootstrap popover - Stack Overflow
Spent quite some time searching for an answer and found my own solution: Add following text to the head: <style type="text/css"> .popover{ max-width:600px;...
Read more >How to Build a Dynamically Positioned Popover ... - YouTube
The popper.js library is a powerful positioning engine for tooltips ... This will allow anyone to create a popover using Divi elements to ......
Read more >Popover - Chakra UI
Popover is built on top of the Popper.js library. Import#. Popover : The wrapper that provides props, state, and context to its children....
Read more >How to Build a Dynamically Positioned ... - Elegant Themes
Notice how the position of the popover changes dynamically as the user scrolls or ... Now let's add some styling to our button...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @lcswillems,
You should pass style props to the
PopoverContent
directly not thePopover
component. Here’s an example: