Skip to content
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

Dropdown - click stopPropagation #1683

Closed
otroboe opened this issue Jul 6, 2015 · 3 comments
Closed

Dropdown - click stopPropagation #1683

otroboe opened this issue Jul 6, 2015 · 3 comments

Comments

@otroboe
Copy link

otroboe commented Jul 6, 2015

Hey !

Do you think it would be useful to add an option to stop event click propagation when opening the dropdown ?

$('.dropdown-button').dropdown({
    stopPropagation: true // default: false
});

In my case, I use the collection component and a dropdown menu in each row. But I want a custom behavior when click on a collection-item. But this custom bind is triggered when click on the dropdown-button :)

For now I check the clicked target DOM element, but it's not very clean !

Thanks :)

@rotoxl
Copy link

rotoxl commented Jul 7, 2015

+1

@fega
Copy link

fega commented Apr 6, 2017

implemented

@BrendanBehr
Copy link

It looks like this was undone with 3c76a65. Before submitting a pull request, I just want to check to see if this was intended or an accidental removal. I currently have a workaround implemented but I would like this feature and I have a potential fix for this.

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

No branches or pull requests

4 participants