react-components icon indicating copy to clipboard operation
react-components copied to clipboard

Build <Tooltip /> using PopperJS 🏗

Open 0ubbe opened this issue 5 years ago • 0 comments

Summary

Currently our <Tooltip /> component is just a tiny wrapper around @tippy.js/react with styles and animation set.

@thegrinder pointed out fairly that we could build ourselves the styles using Popperjs ( which is what TippyJS uses internally ) and hence remove a dependency layer.

We would need to be careful to preserve the current behaviour and styling ( see related PRs )

Related

https://github.com/zopaUK/react-components/pull/164 https://github.com/zopaUK/react-components/pull/165

0ubbe avatar Feb 27 '20 16:02 0ubbe