This topic was marked solved by Nao, on June 4th, 2014, 07:00 PM
Unable to click/hover on menus

Infernus

  • Posts: 14
Unable to click/hover on menus
« on June 2nd, 2014, 05:59 PM »
If you click to many times on menus, they seem to freeze and dont accept any further actions until page is reloaded. Hovering doesn't work either. Using latest chrome.

Possible css bug?

📎 Untitled.png - 3.79 kB, 267x210, viewed 229 times.

📎 Untitled.png - 5.48 kB, 267x210, viewed 227 times.


Pandos

  • Living on the edge of Wedge
  • Posts: 635
# dpkg-reconfigure brain
error: brain is not installed or configured

Infernus

  • Posts: 14
Re: Unable to click/hover on menus
« Reply #2, on June 2nd, 2014, 06:48 PM »Last edited on June 2nd, 2014, 07:12 PM
Um, I'm using a virtual machine to debug and host the forum, and still able to reproduce this on my Windows 7 machine.

Everything works as expected after a page reload, it gets buggy when you frequently click on the items.

📎 php_info.zip - 28.88 kB, downloaded 118 times.


Pandos

  • Living on the edge of Wedge
  • Posts: 635

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Unable to click/hover on menus
« Reply #4, on June 3rd, 2014, 01:01 AM »
I'll be disabling the click problem soon.

This is all in script.js, in the mm() plugin. Just look for it.
First thing I did was to get rid of the 'plugin', and directly assign the search on $('.menu') items, in the only place where .mm() was called.
Then, I got rid of it entirely, and went for an alternative route: automatically hiding/showing menu items when leaving a page or landing on a page. Unfortunately, it doesn't seem to be working as well for me on Chrome, so again: will look into it tomorrow...

In the meantime, for the curious, I've uploaded that file on wedge.org, so you can test here if you want.

:edit: Working great on IE 10, for all I know...! :)

CerealGuy

  • Posts: 343

Nao

  • Dadman with a boy
  • Posts: 16,082

CerealGuy

  • Posts: 343