-
Notifications
You must be signed in to change notification settings - Fork 730
New issue
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
@vx/text innerRef prop #338
Comments
Hi. What I am doing is this: just put a regular ref around the vx components, at a place you control (e.g. |
@martensm for now a work around is to pass a For consistency we'll add |
Sorry, I should have been a bit more clear in the original comment. I need a EDIT: Just saw your edit, that should work for now -- going to try it. I also slightly misread the codesandbox and only looked at the first part of the |
The work around I mentioned will give you a reference to the |
Perfect! Thanks for the really quick turnaround time. |
I need to access the rendered element's
ref
for the<Text>
component. This is currently a showstopper for me using this in an application I'm writing. Would you be able to add support for this?I can submit a PR but I'm not entirely sure what best approach for this would be or if this isn't a good idea for some reason. The
ref
could be added to the<svg>
,<text>
or maybe even both elements?It appears
innerRef
props were added in 0955af6 but not for this component.The text was updated successfully, but these errors were encountered: