Home > Net >  Auto selection when website load (using react)
Auto selection when website load (using react)

Time:12-31

so everytime I load the website for the first time, there is a selection box in the menu and I do not have an idea from where is coming from.

I am using react and react burger menu As you can see there is a box selection

Here is just a sandbox with bad design but I manage to reproduce the error. The error comes when I use the option isOpen={true} Every time I reload the page, you can see there is a selection at the start.

Code Image

  • Related