webiny-js icon indicating copy to clipboard operation
webiny-js copied to clipboard

Clicking outside of the white account button does nothing

Open Andrei199991 opened this issue 6 years ago • 2 comments

A very similar bug to #737 happens with the Account button in admin app when clicking outside of the button (see the blue arrow in the screenshot below). A pointer cursor is shown & the button's glowing animation is played regardless, as if it was functioning.

image

This is:

  • Bug

Specifications

  • OS: Windows 10
  • Browser: Chrome

Expected Behavior

The account popup should appear.

image

Actual Behavior

Literally nothing happens.

Steps to Reproduce the Problem

  1. Run the admin app
  2. Click inside the div's square, but outside the white circle (as marked in the screenshot)

Possible Solution

Check the displayed UserImage element in packages/app-security/src/admin/plugins/UserMenu/UserImage.tsx.

It's loaded as a plugin in packages/app-admin/src/plugins/UserMenu/UserMenu.tsx:21.

You may inspect its parent elements and see exactly why the button's malfunctioning. Either make clicking outside of work as intended or remove the possibility of doing so altogether by suppressing the visual effects (the pointer cursor, the button's animation, ...)

Andrei199991 avatar Mar 25 '20 16:03 Andrei199991

I'd love to contribute this one as my first issue

b0nbon1 avatar Apr 04 '20 21:04 b0nbon1

Great! Let us know if you need any help along the way 🚀

Pavel910 avatar Apr 04 '20 21:04 Pavel910