-
Notifications
You must be signed in to change notification settings - Fork 269
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(ui5-user-menu): introduce new component #10244
base: main
Are you sure you want to change the base?
Conversation
add initials property of ProfileMenuAccount
}); | ||
|
||
if (!eventPrevented) { | ||
item.fireEvent("close-menu"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Custom events have description about their bubble, cancelable configurations. This means that we need to fire events via fireDecoratorEvent
in order to apply these configurations
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For some reason, it is not working. I guess because the MenuItem (which we extend) is still using the fireEvent. We can sync for that
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Most probably this will be resolved when the following PR is merged https://github.com/SAP/ui5-webcomponents/pull/10247/files
extract getter
Thank you for your contribution! 👏
PR checklist
Check the Development Hints
Follow the Commit message Guidelines
For example:
fix(ui5-*): correct/fix sth
orfeat(ui5-*): add/introduce sth
. If you don't want the change to be part of the release changelog - usechore
,refactor
ordocs
.Add proper description about the background of the change and the change itself
Link to an existing issue (if available)
Use
Fixes: {#PR_NUMBER}
to close the issue automatically when the PR is mergedor
Related to: {#PR_NUMBER}
to just create a link between the PR and the issue.