I just learned that
If you turn on Touch feedback (Settings > Sound & vibration > Vibration & haptics > Touch feedback)
it works, so if this setting is disabled it overrules the GBoard setting.
Thanks @Dryhte
Edit: thats intended behaviour and no bug.