Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

149
Visualizações
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 Respostas
Responde à pergunta

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 Relatório

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda