It's not the GrapheneOS keyboard it is simply the default AOSP keyboard that was forked to create GBoard at which point Google stopped updating it properly.
Any AOSP based OS which includes this has the issue as it is a conflict between it and Jetpack Compose used to provide the text input field.
Many GrapheneOS users use Florisboard or GBoard with network permission revoked or you can use any other FOSS keyboard to replace the stock one.
However if you use a password not a pin for device access make sure it works BFU (Before First Unlock) otherwise you'll cripple access if it doesn't and it is made default.