-
Notifications
You must be signed in to change notification settings - Fork 90
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
Notification drawer example dropdown kebab broken #759
Comments
Hi @skateman, sorry, I'm not seeing this behavior? The kebab opens on the first click for me (using Chrome)? |
@dtaylor113 oh, you're probably not including the original bootstrap JS on the page. I spend an hour with @Hyperkid123 when we found why it wasn't working in MiQ 😆 |
Hi @skateman, ok I removed I'll work on dropdownKebabRight ID issue next. |
@dtaylor113 yes, the |
Sorry, where did you fix it? |
@dtaylor113 in the PR description I had |
Hi @skateman, do you need |
Not sure about the |
I'm still not sure that example generates a unique id across all kabob action dropdowns. It's based on notification.id, where it should be something like |
Yup, but only one dropdown per-notification and the ID belongs to the dropdown. |
ah, yes, correct, it's been a while :-) |
I was playing with the notification drawer example and found two issues, in
notification-body.html
:dropdownKebabRight
ID is being used in the repeated region, i.e. possibly generates duplicate IDsdata-toggle="dropdown"
attribute on the<button>
conflicts with the JS provided by bootstrap. This causes the kebab to activate after a second click only.The text was updated successfully, but these errors were encountered: