Skip to content

Admin flyout menus are not touch-friendly #1429

Open
@Toutouwai

Description

@Toutouwai

Short description of the issue

The admin flyout menus (those generated by a Process module's executeNavJSON() method) are not touch-friendly. So for example, in the "Add New" menu...

2021-08-22_160811

...none of the submenu items such as "Seed collection" are accessible on a touch device.

Instead you are navigated to the "Add New" page.

2021-08-22_160958

At least the same items that are in the flyout menu can still be accessed here, but it's not as nice because it requires an extra page load. And although it's common for a Process module to reproduce the items from its executeNavJSON() method separately on a page there's no strict requirement to do that, so there's the potential for some menu items to be totally unavailable on a touch device.

Incidentally, I would have liked to work around this problem by using the first level of dropdowns in a custom Process module...

2021-08-22_161832

...but the frustrating thing is that you can't set these submenu items dynamically within a Process module. So a bump for my 2018 request for that.

Optional: Suggestion for a possible fix

Could a touch on the caret icon be used to trigger the loading of the flyout menu so these menus are available on devices with no hover state?

2021-08-22_162214

Setup/Environment

  • ProcessWire version: 3.0.183

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions