Tooltip arrow does not get a border when a border as a tooltip prop
See original GitHub issueDescription
When I passed in the prop border
to tooltip I would expect the arrow to also get this border. However, the arrow does get the border.
Link to Reproduction
https://codesandbox.io/s/dreamy-cori-ydedu?file=/src/App.js
Steps to reproduce
Hover over the tooltip and notice that the border is not around the tooltip arrow.
Chakra UI Version
1.6.10
Browser
No response
Operating System
- macOS
- Windows
- Linux
Additional Information
No response
Issue Analytics
- State:
- Created 2 years ago
- Reactions:7
- Comments:10 (1 by maintainers)
Top Results From Across the Web
CSS tooltip with arrow and border [duplicate] - Stack Overflow
The goal is here to have a plain white tooltip, with 1px wide border. Even if similar look to some other, it's not...
Read more >Top Tooltip w/ Bottom Arrow - W3Schools Tryit Editor
border -bottom: 1px dotted black; } .tooltip .tooltiptext { visibility: hidden; width: 120px; background-color: black; color: #fff; text-align: center;
Read more >How to Fancy tooltip customization in React Tooltip component
The arrow of the tooltip can be customized as needed by customizing CSS in the sample-side. ... .e-arrow-tip-outer.e-tip-top { border-left: none !important; ...
Read more >Themes | Tippy.js
Themes. Tippies can have any custom styling via CSS. #Included themes. The package comes with themes for you to use: light; light-border; material ......
Read more >Documentation: DevExtreme - JavaScript Sankey Tooltip
Specifies the length of a tooltip's arrow in pixels. ... Configures a tooltip's border. ... Make sure that it does not contain malicious...
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
Seems the “–popper-arrow-shadow-color” css var is not being found. Not a fix but defining that var in the sx property got the border on the tooltip arrow displaying – as a work-around at least (see example). https://codesandbox.io/s/stupefied-fire-s36kz?file=/src/App.js
This is the same root cause as https://github.com/chakra-ui/chakra-ui/issues/5934
As @CalvinChhour mentioned, I have had a PR open for sometime here, just needs review from a maintainer. I can make some tweaks so it also resolves this issue.