Closed EgorPashko closed 4 years ago
Hi @EgorPashko, thanks for reporting this issue.
At first sight, there seems to be nothing wrong with your code. What does Styled.Tooltip
look like? Is is a function component? If so, did you wrap it in React.forwardRef()
(and have you forwarded the ref onto a native dom-element?)
@everweij Thank you for your quick response
Styled.Tooltip
is styled-component
library, how did I find out they have a bug related to my issue. https://github.com/styled-components/styled-components/issues/1990. Now, my code looks like this
I think an issue is closed
Hey guys, I have some problem when I try to test my ToggleLayer, I receive an error.
Can you provide some information about whether this is related to "react-laag" or not?
My test I am using
@testing-library/react
My component