This floating keyboard is new feature on Gboard call "Write in text fields".
- To get back the floating button:
Gboard > Settings > Write in text fields > Show on-screen keyboard, turn it on.
- To disable the "Write in text fields" feature:
Gboard > Settings > Write in text fields > Use stylus to write in text fields, turn it off.