Skip to content

Do not send click up in dom tree.#183

Open
sebhofmann wants to merge 1 commit into
mrphilipandrews:masterfrom
sebhofmann:no_parent_drag
Open

Do not send click up in dom tree.#183
sebhofmann wants to merge 1 commit into
mrphilipandrews:masterfrom
sebhofmann:no_parent_drag

Conversation

@sebhofmann

Copy link
Copy Markdown
Contributor

This should fix #152

@tsanko

tsanko commented Aug 25, 2015

Copy link
Copy Markdown

+1

@faelcorreia

Copy link
Copy Markdown

+1
That did the trick for me!

Here two plunker with result before and after the change made by paschty:

http://plnkr.co/edit/xhLgXW0hPxLucQiKt6Q1?p=preview
http://plnkr.co/edit/jbZ7DqzUsfchAG3k0qmY?p=preview

@fracz

fracz commented Oct 6, 2015

Copy link
Copy Markdown

Please note that it can be fixed in client side only in desired situations by stopping the mouse down event propagation.

Just add the ng-mousedown="$event.stopPropagation()" to child element.

http://plnkr.co/edit/onwCzYy4mtI8pz1mSoNV?p=preview

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.

Draggable with Draggable Children? (draggable tree)

4 participants