Cancelling a back gesture causes a table to no longer be resized for keyboard

Number:rdar://FB7714096 Date Originated:25/5/20
Status:Open Resolved:No
Product:UIKit Product Version:Xcode 11.4.1 iOS 13.5
Classification:Bug Reproducible:Always
I noticed a bug in tableview's keyboard handling when the navigation gesture to go back is being used. When you have a screen and you push on another that has a table with text field in the rows and a text field is selected thus keyboard appears and the table is resized to be smaller so you can still scroll to all rows, this resizing is broken if you start a back gesture and then cancel it thus remain on the same screen, the table is now the full screen size and thus the rows are now obscured by the keyboard and can not be scrolled to.  I've attached a sample app that demonstrates the issue and also a screen capture video. After launching it on iPhone simulator (iPad is not affected) the steps are as follows:

1. Tap Next.
2. Tap Row 1's Placeholder, keyboard appears (if it doesn't check Simulator keyboard settings).
3. Scroll to Row 25 and back to Row 1.
4. Begin a navigate back gesture but cancel it to stay on this screen.
5. Try again to scroll to Row 25, you can no longer reach it.

Xcode 11.4.1
iPhone Simulator 13.5


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!