I've had that - Gboard appears, but very occasionally glide typing doesn't work. I press on the 'keyboard' icon at the bottom right, then I'm offered the choice between Gboard (selected) and Keyboard (the AOSP keyboard). Press Gboard and now glide typing works again. Using a P7Pro with the Gboard app with network removed:
Version 14.1.04.621126403-release-arm64-v8a
com.google.android.inputmethod.latin
versionCode 141527434
targetSdk 34
minSdk 23
Installed: 23 Nov 2023; 21:21
Updated: 11 May 2024; 15:15