Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Tab] Fix NPE caused by set a position less than 0
If somehow scroll position is set to -1 with and position offset greater than 0.5, we will decide it's a valid scroll position which causes NPE for selected child not found. Fixes this by checking if position is valid regardless the offset and falling back to 0 if a negative position is given. Resolves #2464 PiperOrigin-RevId: 408894188
- Loading branch information