This PR adds a margin option to overlays that are bound to a UI anchor (Tooltip & Popover). The margin works for both X & Y Axes, but only if they are set to be outside of the anchor (before or after), setting position to start, center or end will not apply the margin for the axis.
[x] browser tooltip/popover position overlay with margin for "outside" (before, after)
add margin to Tooltip component
[x] add margin prop
[x] add to demos
[x] add to readme
add margin to Popover component
[x] add margin prop
[x] add to demos
[x] add to readme
open issues
keep Tooltip open when mouse is between overlay and anchor - #82
This PR adds a margin option to overlays that are bound to a UI anchor (
Tooltip
&Popover
). The margin works for both X & Y Axes, but only if they are set to be outside of the anchor (before
orafter
), setting position tostart
,center
orend
will not apply the margin for the axis.Tooltip
componentPopover
componentopen issues
Tooltip
open when mouse is between overlay and anchor - #82