Comment

thang thang

this work but it can create a bug, If the user Press Enter, it should handle something, but the input not blur yet and the state still not update then enter action will handle an old state.