Streaming live at 10am (PST)

Spacebar closes the dropdown

Is there a way to not close a dropdown if you press the spacebar? I have a form inside a dropdown and pressing space keeps closing the form

Read only version here: https://preview.webflow.com/preview/collectivecampusglobe?utm_medium=preview_link&utm_source=designer&utm_content=collectivecampusglobe&preview=1b8dfe84aefde5816136d797131f88da&pageId=5ae17eb10974c55bd1c53f7a&mode=preview

Hi @nabbiechan,

First off, cool site. Question for you, why are you using a dropdown and not an interaction to get the same desired result. This would eliminate the need for custom code.

I guess it’s because it was easy for implementation in comparison (I was always adamant about using interactions to show certain actions). But I just recreated it through interactions and it seems to work on my end now. Thanks!

Good to hear! Lmk when it is done, would like to see final result!