USACE / USACE/groundwork

sidebar-links.js - Menu Title Block is Clickable/Selectable on Mobile Devices (Android with Google Chrome)

Open
#208 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
6
Forks
4
PR merge metrics
No merged PRs in 30d

Description

https://water.dev.cwbi.us/office/lre/

For sidebar-link.js LRE had the following coding:

{
id: "ReportsMenu",
text: "Water Management Reports",
children: [
{
id: "ReportsMenu-all",
text: "All Reports",
href: "/reports/AllReports",
},

When using a desktop browser the sidebar menu Title Block “Water Management Reports” is displayed as expected and is non-clickable.

However, when using a mobile browser (Google Chrome on an Android device for this example), the menu Title Block is clickable/selectable. If selected the result is a 404.

Images showing the issue are attached.

Image
Image
Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the behavior at the linked LRE page in Android Chrome, then inspect sidebar-links.js/sidebar-link.js and the menu-title handling for the ReportsMenu example. The change is complete when the “Water Management Reports” title block is not clickable or selectable on mobile and selecting it no longer leads to a 404.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.