+ 1

Hamburger menu issue

Hamburger menu isn't closing automatically in mobile view when we're switching b/w tabs. Website: https://www.adchem-industries.com/ <!-- This is a React.js website --> Source code: https://github.com/DiGiLABS-Alphahood-Technologies-Pvt-Ltd/AdchemIndustries_Website

16th Jul 2021, 4:00 AM
Abhishek Yadav
Abhishek Yadav - avatar
2 Respuestas
+ 2
Try to set CloseMenuTrigger method on ul element onClick event. <ul onClick={() => { ... this.CLoseMenuTrigger(); }} ... > ... </ul>
21st Jul 2021, 3:50 PM
Calviղ
Calviղ - avatar
+ 1
I am just begginer with React, but i think all Links need to have onClick to close hamburger menu.
18th Jul 2021, 9:38 AM
PanicS
PanicS - avatar