Please use StickyNode
component from https://github.com/OpusCapita/react-overlays/
StickyNode is a React component which always will be inside a specified container. It can be usefull for a tooltips, etc.
Name | Type | Description |
---|---|---|
className | string | Default behaviour |
style | object | Default behaviour |
restrictorNode | object | Restrictor DOMNode or ReactElement ref |
children | Default behaviour |
Kirill Volkovich