Closed Dellybro closed 3 years ago
It's not that easy to fix, as my experience shows. Changing to currentlyFocusedInput
results in that kind of error:
It happen because of this code:
UIManager.viewIsDescendantOf(node, findNodeHandle(this._content), (isDescendant) => {
isDescendant && this.scrollIntoView(node)
});
viewIsDescendantOf
waits for reactTag (number) which is a reference to a react fiber element. But, currentlyFocusedInput
returning object, and that break things.
You can track progress on this issue on this PR:
Fixed in v2.4.4
@octopitus when will v2.4.4 be released? latest on npm is still 2.4.3
@mwerder Sorry forgot to publish new verison. Should have been updated.
Issue Description
Line 315 of slidingUpPanel.js needs to be edited
should be