Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Add prop innerRef to access textarea DOM node #40

Closed
FrancescoCioria opened this issue Apr 20, 2017 · 0 comments
Closed

Add prop innerRef to access textarea DOM node #40

FrancescoCioria opened this issue Apr 20, 2017 · 0 comments
Assignees

Comments

@FrancescoCioria
Copy link
Contributor

requirements

As gaeron said here, sooner or later ReactDOM.findDOMNode will be deprecated and it will be apt to each component to decide if the user will be able or not to access the DOM node by its standard prop API.

We should add a prop innerRef: t.maybe(t.Function) that is called with the ref to the DOM node if it exists.

specs

{optional: describe technical specs to implement this feature, if not obvious}

misc

{optional: other useful info}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants