CodeYourFuture / curriculum

The CYF Curriculum
https://curriculum.codeyourfuture.io
Other
34 stars 46 forks source link

Pressing left and right arrows in a text field in the prep view does navigation #1072

Open illicitonion opened 1 month ago

illicitonion commented 1 month ago

On https://programming.codeyourfuture.io/data-groups/sprints/3/prep/#character-limit type something in the textarea, then press left or right to move the cursor so you can edit the content.

See that instead of interacting with the textarea, you end up navigating to a different prep section.

Our nav shouldn't interfere with browser-native controls like this.

SallyMcGrath commented 1 month ago

Oh it's probably listening to the window, yeah. Definitely something to fix 💯