Gravity and Teleportation in fly mode
Those shortcuts apply to Walk Mode not fly mode. Make sure you are in the correct mode.

see https://docs.blender.org/manual/es/dev/editors/3dview/navigate/walk_fly.html