#24767 closed defect (bug) (fixed)
Twenty Twelve: submenu links broken on tablets
Reported by: | obenland | Owned by: | |
---|---|---|---|
Milestone: | 4.1 | Priority: | normal |
Severity: | normal | Version: | 3.5 |
Component: | Bundled Theme | Keywords: | has-patch |
Focuses: | Cc: |
Description (last modified by )
From http://en.forums.wordpress.com/topic/dropdown-menu-not-working-on-nexus-7?replies=4#post-1334102
When a menu has subitems, tapping on it shows the dropdown for a moment, then goes to the link in the top element.
Confirmed broken on a Nexus 7 and iPad 3.
Attachments (4)
Change History (39)
#3
@
11 years ago
Also a problem for Windows (Phone/8) touch devices. And a problem that a majority of websites with dopdowns have. IE11 is going to make fixes for dropdown menus itself (hover effects more broadly), like iOS does. Android browsers will probably follow eventually.
#4
@
11 years ago
I can confirm this issue on Galaxy Tab 10.1 / Android 4.0.4 Stock Browser and Chrome 30.
Both in admin bar and site menu in Twenty Twelve.
#8
@
11 years ago
- Description modified (diff)
- Priority changed from low to normal
- Summary changed from Twenty Twelve: Dropdown menu broken on Android to Twenty Twelve: submenu links broken on tablets
@obenland Can you confirm this actually work on an iPad? See #26787.
This ticket was mentioned in IRC in #wordpress-themes by lancewillett. View the logs.
11 years ago
#11
@
11 years ago
I tested this on an iPad 3 with Twenty Twelve and submenus -- a single click brings up the submenu but it only remains visible for a brief time, maybe half a second. You have to click really fast before it disappears. :)
#13
@
11 years ago
During the contributor day at WordCamp Switzerland, we noticed that Twenty Thirteen is also affected.
I worked on this (with Claudio Schwartz) and we found a working solution, with big help by Matías Ventura.
This patch has been tested on an iPhone/iOS7 device.
#14
@
11 years ago
The 24767.2.diff patch has two improvements:
- We use the already existing
.focus
class, so we don't need additional CSS. - We remove the class from sibling elements, otherwise adjascent submenus can overlap. Thanks to Piotr Soluch!
The patch has been successfully tested on iPad 3rd (7.0) via browserstack, and a Samsung Galaxy Note (Google Chrome browser, Android 4.2.2).
We found a minor issue on iPhone/iOS. The color highlighting of selected submenus is inconsistent – highlight color (:hover) gets attributed to the parent of the tapped element. Claudio is investigating.
#15
follow-up:
↓ 16
@
11 years ago
The my patch is for twentytwelve theme
I investigated about the problem as @tar.gz mentioned and found out, that the problem is only on iOS. It's the same problem we have on WP admin. Therefore I think it's a bug of webkit.
#17
in reply to:
↑ 16
;
follow-up:
↓ 18
@
11 years ago
Replying to helen:
Replying to purzlbaum:
I investigated about the problem as @tar.gz mentioned and found out, that the problem is only on iOS. It's the same problem we have on WP admin. Therefore I think it's a bug of webkit and I have no solution how to solve it.
Hi Helen
whats going on with this ticket right now? Should we search for another approach?
#18
in reply to:
↑ 17
@
11 years ago
Replying to purzlbaum:
whats going on with this ticket right now? Should we search for another approach?
Not completely sure what you're asking, but there's no approach right now, just noting that that issue is covered in another ticket and is not specific to this ticket, which is about Twenty Twelve.
#19
@
11 years ago
I assume the question by purzlbaum is regarding this present ticket.
We have two patches now, that solve the submenu usability problem for Twenty Twelve and Twenty Thirteen.
What's next? Shall we ship them? Or is further testing on other devices required?
#20
@
11 years ago
Patches .2 & .3 applied together fix the problem on the themebusters site. I can drill all the way down to the Level 3 item in the Parent Page menu on a Nexus 7.
This ticket was mentioned in IRC in #wordpress-themes by Guest2809. View the logs.
11 years ago
#24
@
11 years ago
- Keywords dev-feedback removed
- Milestone changed from Future Release to 4.0
- Resolution set to fixed
- Status changed from new to closed
#26
@
10 years ago
This issue seems to have reappeared - submenu items on dropdown menus can't be selected on iPad.
Can replicate on the demo: http://wp-themes.com/twentytwelve/
Tested in Safari / iPad mini retina / iOS 7.1.2.
Reported in: http://en.forums.wordpress.com/topic/not-able-see-drop-down-menus-from-pages-on-my-ipad
#27
@
10 years ago
Screencast: https://cloudup.com/c6Nnm2LCbwr
#31
@
10 years ago
- Keywords has-patch added; needs-patch removed
The above case happens only there isn't a menu assigned to the "Primary Menu" location and there are Sub Pages for the default Pages already in the menu, which appears as submenus. Those submenus are not treated with the same CSS classes: ".menu-item-has-children" vs ".page_item_has_children".
I change it in navigation.js and now should work as intended (tested on iPad Air / iOS 8.1.1 too)
#33
@
10 years ago
- Resolution fixed deleted
- Status changed from closed to reopened
Hi there,
Is it possible to recode it such that it shows a dropdown instead? The modified code does not seem to work on Windows 8 tablets on Internet Explorer and Firefox (works though with Chrome). I tried removing the ontouchstart detection but it still does not work.
Any idea how I could make it work?
I'm using WP 4.0.1 on 2013 theme.
Does the admin menu work properly on a Nexus 7? If yes, the front-end menu may need similar JS workaround.