A visitor on a mobile device can read all menus, with a tap to open dropdowns, and go to the link of their choosing #114

Open
opened 2021-08-19 13:41:45 +00:00 by mlncn · 7 comments
mlncn commented 2021-08-19 13:41:45 +00:00 (Migrated from gitlab.com)

Background

Dropdown menus are not presently working as they should on mobile. Not sure if there's prior art in other Drutopia sites (cc @MegaKeegMan @sanjayjaindc ) — personally i try hard to avoid dropdown menus and made the oversight about these not working correctly on mobile).

  • On desktop the hover works fine but on mobile this needs to be replaced with a tap to open, otherwise the only
  • Also the three-item menu doesn't quite fit across on smaller mobile devices.

Actually, looking at the menus, we could alternatively get away with simply hiding the drop-down arrow on mobile, which would help them fit, not cause unexpected behavior to the person on a phone or other mobile device, and all the links can be reached from those three landing pages.

## Background Dropdown menus are not presently working as they should on mobile. Not sure if there's prior art in other [Drutopia](https://drutopia.org) sites (cc @MegaKeegMan @sanjayjaindc ) — personally i try hard to avoid dropdown menus and made the oversight about these not working correctly on mobile). - On desktop the hover works fine but on mobile this needs to be replaced with a tap to open, otherwise the only - Also the three-item menu doesn't quite fit across on smaller mobile devices. Actually, looking at the menus, we could alternatively get away with simply hiding the drop-down arrow on mobile, which would help them fit, not cause unexpected behavior to the person on a phone or other mobile device, and all the links can be reached from those three landing pages.
mlncn commented 2021-08-19 13:44:18 +00:00 (Migrated from gitlab.com)

The alternative is any of a number of JavaScript libraries to treat hover events on desktop as tap events on mobile, but that means (except for /about) we should also in JavaScript duplicate the main menu item in the dropdown.

The alternative is any of a number of JavaScript libraries to treat hover events on desktop as tap events on mobile, but that means (except for /about) we should also in JavaScript duplicate the main menu item in the dropdown.
joshua_davis commented 2022-01-28 16:55:54 +00:00 (Migrated from gitlab.com)

Any updates on this?

Any updates on this?
MegaKeegMan commented 2022-01-28 23:17:34 +00:00 (Migrated from gitlab.com)

Here is what we have in mind:

  • The top level dropdowns will be converted from being links, themselves, to avoid navigating to a new page when someone on mobile clicks to open them
  • The search bar should be moved to the right of the dropdown links (on desktop), and on mobile will be paired in a row with the "Support GEO" dropdown (above the other dropdowns)
Here is what we have in mind: - The top level dropdowns will be converted from being links, themselves, to avoid navigating to a new page when someone on mobile clicks to open them - The search bar should be moved to the right of the dropdown links (on desktop), and on mobile will be paired in a row with the "Support GEO" dropdown (above the other dropdowns)
MegaKeegMan commented 2022-01-28 23:18:50 +00:00 (Migrated from gitlab.com)

By the way, the above recommended change should fix the text from the dropdowns (and the search bar) floating off of the screen

By the way, the above recommended change should fix the text from the dropdowns (and the search bar) floating off of the screen
mlncn commented 2022-01-29 04:23:57 +00:00 (Migrated from gitlab.com)

mentioned in issue #117

mentioned in issue #117
mlncn commented 2025-01-24 20:05:18 +00:00 (Migrated from gitlab.com)

assigned to @mlncn

assigned to @mlncn
mlncn pinned this 2025-02-22 18:16:09 +00:00
Owner

Other issues here:

  • The main menu causes the site as a whole to have significant horizontal scroll on small screens
  • The page title block cases the site to have a small amount of horizontal scroll even with the main menu removed
Other issues here: - The main menu causes the site as a whole to have significant horizontal scroll on small screens - The page title block cases the site to have a small amount of horizontal scroll even with the main menu removed
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: geo/geo-coop#114
No description provided.