Keyboard keeps overriding my Xbox One controller even when it's disconnected.

Keyboard prompts keep flashing even tho I’m using the controller and it seems like the keyboard overrides the controller making it impossible to use either as the control method.