When the Show suggestions as you type option is enabled for code completion, you can use the Lookup Up and Lookup Down actions to close the suggestion list and move the caret up or down in the editor.

On Windows, use the Ctrl+Down and Ctrl+Up shortcuts.

On macOS, the shortcuts are not configured by default, so you can assign any key combination that is convenient for you in Preferences | Keymap.