Whenever I tap the empty space below the spacebar, while using Chrome, the keyboard closes unexpectedly
I have experienced this on Android as well.  Many virtual keyboard apps have a resize/reposition feature.  I was able to fix this issue by using this feature to manually move the keyboard to the bottom of the screen.
The location of the feature varies for each keyboard app, but it's typically available via its Settings UI.