Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

148
Views
mmenu closes (on mobile) when input field in menu is interacted with

This doesn't happen on desktop browsers so far from my testing, yet if I go to this website on an up to date Android device, the menu will close when I click into the 'location or postcode' box.

input box in mmenu that closes the menu when its interacted with

You can see the issue here: https://www.flyingbutler.com/

I thought that maybe setting onClick:{close:false} may have some effect on the issue but it doesn't. Can anyone assist ?

about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

So I upgraded to the v9 codebase of mmenu and that did indeed resolve the problem. It wasn't what I really wanted to do as it required some other work to make the menu function exactly as before, but it did however resolve the issue this question was raised about.

about 4 years ago · Juan Pablo Isaza Report

0

I could not reproduce ur issue with my phone or emulator. However, I recommend u to use states for your ui elements if they are relatively crucial for the workflow of website (Nav, menu, modals).

Then u can keep track of state of your menu, while its open or closed. Thus, you can pick which action can trigger the toggle. That will add some code lines, but it will increase the control over ui.

Also u can reuse this approach with any ui component that u decide, even pump up the number of states.

Hope my advice finds you well.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!