Skip to content

Conversation

plamenivanov91
Copy link
Contributor

Fixes: #11920

@dobrinyonkov
Copy link
Contributor

I suggest to try and solve this via CSS. The shell bar is setting pointer-events: none to the avatar, which is part of the problem. The second part is the focus styles of the button, placing an absolute container over the content of the button "stealing" the pointer events. Perhaps, is better to set pointer events there instead.

@plamenivanov91
Copy link
Contributor Author

I suggest to try and solve this via CSS. The shell bar is setting pointer-events: none to the avatar, which is part of the problem. The second part is the focus styles of the button, placing an absolute container over the content of the button "stealing" the pointer events. Perhaps, is better to set pointer events there instead.

I made the solution CSS pointer event based as discussed, and moved the test to the Shellbar cypress file to avoid parasitic import in the Avatar cypress file.

@github-actions github-actions bot added the Stale label Sep 6, 2025
Copy link

cla-assistant bot commented Sep 9, 2025

CLA assistant check
All committers have signed the CLA.

@github-actions github-actions bot removed the Stale label Sep 10, 2025
@plamenivanov91 plamenivanov91 merged commit 5bbb264 into UI5:main Sep 19, 2025
23 of 24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ui5-shellbar]: profile click event.
3 participants