We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently we can't pass a ref prop to the Tooltip component. The Tooltip component uses the forwardRef helper so should accept a ref prop.
ref
forwardRef
within PM, client_react:
import React from "react"; import { Tooltip } from "@nulogy/components"; export default function Component() { const someRef = React.useRef(null); return ( <Tooltip ref={someRef}> <span>Children</span> </Tooltip> ); }
No Typescript errors.
Actual behaviour:
Property ref does not exist on type IntrinsicAttributes & TooltipProps & { children?: ReactNode; }
No, we've cast the Tooltip component to allow for a ref prop
Unknown, doesn't block current work.
No response
The text was updated successfully, but these errors were encountered:
haideralsh
No branches or pull requests
Describe the bug
Currently we can't pass a
ref
prop to the Tooltip component. The Tooltip component uses theforwardRef
helper so should accept aref
prop.Steps to reproduce
within PM, client_react:
Expected behaviour
No Typescript errors.
Actual behaviour:
Is your team blocked from moving forward by the bug?
No, we've cast the Tooltip component to allow for a
ref
propWho would you like to fix the bug?
When do you need this by?
Unknown, doesn't block current work.
Helpful resources
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: