Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Largo 0.5.4 second-level main nav doesn't open via Touch on iOS #1166

Closed
jackbrighton opened this issue Mar 8, 2016 · 8 comments
Closed
Assignees
Labels
priority: normal Must be completed before release of this version of plugin. status: needs review type: bug

Comments

@jackbrighton
Copy link

On Largo 0.5.4 sites with second-level links in the main menu, when viewed on an iOS phone, the second-level menu does not open upon touch. The main menu drops down from the hamburger icon, whereupon those menu links that have submenus display arrows indicating they should open on touch, but the submenus don't open.

On a desktop computer in mobile view, the submenus to open on click. So the issue seems to only occur on a iOS touchscreen in mobile view.

The issue does not occur on Android phones.

Example sites include:

@jackbrighton jackbrighton added this to the Backlog milestone Mar 8, 2016
@benlk
Copy link
Collaborator

benlk commented Mar 8, 2016

(Using a mouse on an Android phone is also not affected, fwiw.)

@aschweigert aschweigert added the priority: normal Must be completed before release of this version of plugin. label Mar 21, 2016
@aschweigert
Copy link

Let's try to address this in 0.5.5, but our general guidance should be that using second level dropdowns is generally a bad idea because the items therein will be all but invisible to users anyway (it's very rare for people to drill down that deep).

@jackbrighton
Copy link
Author

This may be the same issue causing the Global Navigation "More" dropdown to not open on touch, as reported by Current.org here: http://jira.inn.org/browse/HELPDESK-641

@aschweigert
Copy link

it is, still not a high priority, but we'll try to address it in this next release

@jackbrighton
Copy link
Author

I want to gently suggest that second level dropdowns might not get used a lot, but a significant number of Largo sites have them and they are currently broken on iOS devices. If a menu isn't important to users, and is also broken, it probably shouldn't exist. If it does exist it should work. Would be good to resolve this in Largo 0.5.5.

@aschweigert
Copy link

Let's do an audit of sites that actually have this issue and then decide. Personally, I'm pro just losing second level dropdowns and explaining to sites why they're going away.

@rclations
Copy link

I think this actually may be a js issue - looking into it

@rclations
Copy link

the issue here is that we have 2 sections overwriting each other and both opening/closing the nav.

First there's https:/INN/Largo/blob/master/js/navigation.js#L37-L72, target specifically at mobile devices

Then the more generalized nav section in https:/INN/Largo/blob/master/js/navigation.js#L166-L215

From my testing, I believe we can remove the entire mobile section (L37-72) and just keep the generalized parts (L166-215).

Thoughts on this?
I'm not sure of the background that led to 2 sections of code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: normal Must be completed before release of this version of plugin. status: needs review type: bug
Projects
None yet
Development

No branches or pull requests

4 participants