Skip to content

View-switcher dropdown (Reka UI) unresponsive to real clicks in Chrome/Chromium #2427

Description

@palamars

Description

The view-switcher dropdown (breadcrumb "List ⌄" button, e.g. on the Deals list) does not respond to real mouse clicks in Chrome/Chromium. Two separate failure points, confirmed via both a real-user click, a CDP-simulated click (cloud browser), and Puppeteer's automated click (which dispatches real mousedown/mouseup/click via Input.dispatchMouseEvent, same as a genuine user click):

  1. Clicking the dropdown trigger itself does not open the menu. The trigger button (Reka UI DropdownMenuTrigger, e.g. id="reka-dropdown-menu-trigger-v-0-XX") shows no visible reaction to a real click — aria-expanded stays "false", data-state stays "closed", and no menu content is mounted in the DOM. Triggering .click() on the element programmatically via page.evaluate does open the menu correctly, confirming the element itself, its Vue bindings, and click handler are wired up fine — it's specifically the trusted/native click event path that fails.
  2. With the menu forced open (via the programmatic click above), clicking an item (e.g. "Kanban") does nothing. The item highlights correctly on hover (so there's no overlay/z-index/hit-testing issue — document.elementFromPoint() at the click coordinates correctly resolves to the target <button>), but a real click on it doesn't select the view: the URL stays on /crm/deals/view/list, the checkmark stays on "List", and the menu doesn't close.

Confirmed working in Firefox — same site, same user, same view. Issue is Chrome/Chromium-specific.

Likely related to known Reka UI Chrome dropdown-click bugs:

Steps to reproduce

  1. Open any list view with a view switcher (e.g. Deals list) in Chrome/Chromium.
  2. Click the "List ⌄" dropdown trigger next to the breadcrumb.
  3. Observe: nothing happens (menu does not open).
  4. (To get the menu open for step 5, use devtools console: document.querySelector('[id^="reka-dropdown-menu-trigger"]').click().)
  5. With the menu open, click "Kanban".
  6. Observe: item highlights on hover, but clicking it does not switch the view or close the menu.

Environment

  • Frappe CRM, main/stable branch (frappe/erpnext v16.26.2-based deployment)
  • Chrome: reproduced on Chromium 148 (headless, via Puppeteer) and stock Chrome (real user + CDP-simulated click via cloud browser)
  • Firefox: not affected

Expected behavior

Clicking the view-switcher dropdown trigger opens the menu, and clicking a menu item switches the view, matching Firefox behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions