-
Notifications
You must be signed in to change notification settings - Fork 273
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
ShellBar: Inconsistent Event Handler #297
Comments
Hello @MarcusNotheis While fixing this gap I was thinking that it would be good if we define better names for ref parameter in in these events. Such as In the end it is not always an icon clicked there. What do you think? |
Hi @MapTo0, yes, totally see your point. Thanks for looking into that! |
If you are changing the ShellBar anyways it would be really nice if you could add events for |
BREAKING CHANGE: press handlers used to have param "iconRef". As not always an Icon is pressed (e.g. title is not an icon) - the parameter is renamed to targetRef. Fixes: #297
BREAKING CHANGE: press handlers used to have param "iconRef". As not always an Icon is pressed (e.g. title is not an icon) - the parameter is renamed to targetRef. Fixes: #297
Describe the bug
A clear and concise description of what the bug is.
According to the documentation, the events
notificationsPress
,productSwitchPress
,profilePress
andtitlePress
should all have the detailiconRef
.This seems not the be the case at the moment.
Current Content of
event.detail
:To reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
I would expect all details to contain
iconRef
Context
Affected components (if known)
ui5-shellbar
The text was updated successfully, but these errors were encountered: