Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TextInputEditText]Fix: TextInputEditText misses some visible lines i…
…n CursorAnchorInfo#getVisibleLineBounds after scrolled TextInputEditText#getGlobalVisibleRect is overridden to call getGlobalVisibleRect on parent TextLayoutInput view directly. It doesn't match with the View#getGlobalVisibleRect implementation where the return globalOffset contains negative amount of the scroll in the view. As a result, calling getLocalVisibleRect will return a wrong rectangle when TextInputEiditText is scrolled. PiperOrigin-RevId: 542341678
- Loading branch information