Skip to content

Can't expand top-right user menu #698

@shaunanoordin

Description

@shaunanoordin

UI Bug

Noted as of 2bff383

When a user is signed in, the top-right user menu can't be expanded.

image
  • Expected: clicking on the arrow next to the user name should expand the menu, displaying options like "Profile", "Settings", and "Sign Out".
  • Actual: clicking on the arrow does nothing - it's a silent error. In the dev console, we see the following errors:
Uncaught TypeError: Cannot read properties of undefined (reading '_renderMenuDrop')
The above error occurred in the <MenuDrop> component:
    in MenuDrop
    in div (created by DropContents)
    in DropContents

Notes:

  • I'm 90% sure that the component that's erroring is in the ZRC.
  • I thought the problem was related to a recent version bump for ZRC (6ec3f25), but I was able to trace the error back to 6b2eae1, so this bug may have been around for a while.

Status

Low priority. In practice, on the actual Zooniverse, the user menu can still be accessed on pages that aren't the Organization page(s) (since pfe-lab is only used for managing Organizations).

I'd still like to know why it's erroring though, so it'd be good to take a look at this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions