Why is my NavBar disabled I can't click buttons or search

273 views Asked by At

I have this CodeSandbox

And suddenly I cant click on the Components and I cant remember what I did to deserve this :)

Please advice?

1

There are 1 answers

0
idbentley On BEST ANSWER

The problem here is the div element that you defined inline with your Navbar Form: enter image description here. As you can see from the developer tools, this div is being created the same size and position as your nav, but it's over top of your nav, so no click events make their way to the nav itself.

Removing the div fixes it.