Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Temporarily disable support for transformations in findNodeAtPoint in…
…frastructure Summary: Changelog: [Internal] FindNoteAtPoint takes transformations into account. There is however a problem with how transformation in ScrollView. In ScrollViewShadowNode, getTransform is overriden. In the override we apply `Transform::Translate(-contentOffset.x, -contentOffset.y, 0)`, this means that ScrollView has moved by {-x,-y}. However this is only true for its children, not for scroll view itself. This trips off findNodeAtPoint and if you scroll more than than screen's height, point will not be evaluated as inside ScrollView. Until we can figure out how to deal with this properly, I think it is better to disable it as usage of JS Inspector is more common in ScrollViews than it is with transformed views. Reviewed By: shergin Differential Revision: D22332779 fbshipit-source-id: f48c9ae67a595e6954c2b70fb287db7f8c74378b
- Loading branch information