Fixed navTab stays active (in some case)

refael

Well-known member
Very trivial issue.
Happens only on touch devices (my case, ios8).

If you click (touch) on the Alerts tab, and before it finishes to load, you will click on the Inbox tab - both tabs will have the active styling.

image.webp

Also, the first one will stay active even when touching the background

image.webp
 
This isn't mobile related. It's probably more slow server/connection related that makes it visible.

But basically, it's because the menu thinks it is still being shown when the Ajax request comes back. Just needed to detect if it has been closed already.
 
Back
Top Bottom