-
Notifications
You must be signed in to change notification settings - Fork 261
Open
Description
Going to try to open a PR for this, but wanted to bring it up in an issue first. findDOMNode
is deprecated in favor of refs. I think the safest way to fix this would be to create a single ref that is used in one of two ways:
- When using a render prop, pass the ref into the render prop function and require the developer to pass it down to their input (I believe there is precedence for this in other libraries, but need to verify that...)
- When not using a render prop, pass the ref straight to the default
input
that is controlled directly by the input mask component.
I'm going to try this and see what it does to the tests. If it works out, I'll open a PR for it, unless I hear objections here.
bianchi, semihraifgurel, Temirtator, gbrl-almeida and ianchanning
Metadata
Metadata
Assignees
Labels
No labels