diff --git a/docs/docs/troubleshooting.mdx b/docs/docs/troubleshooting.mdx index b2c6803d..5326ebdd 100644 --- a/docs/docs/troubleshooting.mdx +++ b/docs/docs/troubleshooting.mdx @@ -82,6 +82,24 @@ or } ``` +### The tooltip doesn't close when using `closeEvents={{ click: true }}` + +Some HTML elements, such as the ``, can sometimes capture click events and not propagate them. If your anchor element contains an `` element, try setting `pointer-events: none;` on it. + +```jsx + +``` + +```css +.my-svg { + pointer-events: none; +} +``` + ## The border doesn't show for the arrow Simply setting the border for the tooltip through CSS will not work for the arrow.