While investigating ENG-10293, I discovered that Flow was failing to typecheck the params in the navigate call here.
Two things had to be fixed:
- verticalBounds isn't always set at the time of this call. ENG-10293 happens when it's not set, and we can improve the error message in that case with an invariant here.
- The item being passed here is of the wrong type, and in fact we don't have the right item to pass in here. The prior diff made it possible to skip that param, and in this diff we simply remove it.
Depends on D14426