Page keeps refreshing when typing in text input

The page keeps refreshing itself when typing in a text input, as shown in the GIF below:

Nevermind. Got it. Used SessionState.