-
Notifications
You must be signed in to change notification settings - Fork 647
Closed
Description
The android version no UIManager.viewIsDescendantOf method. So
// Automatically scroll to focused TextInput
if (this.props.enableAutoAutomaticScroll) {
const currentlyFocusedField = TextInput.State.currentlyFocusedField()
if (!currentlyFocusedField) {
return
}
UIManager.viewIsDescendantOf(
currentlyFocusedField,
this.getScrollResponder().getInnerViewNode(),
(isAncestor) => {
if (isAncestor) {
this.scrollToFocusedInputWithNodeHandle(currentlyFocusedField)
}
}
)
}
this code has problem. How solve it?
irenius, ykl522, di3goleite and nickythorne
Metadata
Metadata
Assignees
Labels
No labels