Tap the screen to appear items

How do I make it so that after the user selects an item and enters the quantity, after clicking “Ok” on the keyboard, it does not appear on the screen, only after tapping the screen one more time.