flushSync
From React DOM
- Focus on button Unamed when input submit [Enter key]
- Focus on button Unamed on input blur (to blur click on [tab key] after editing input)
- Focus on button Unamed when input escape key [ESC]
- Focus on Input if click on Button
From React DOM