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.

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.
2 participants