Skip to content
This repository has been archived by the owner on Apr 6, 2020. It is now read-only.

Commit

Permalink
Interacjs: fix the Chrome bug, ignore events from dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
bartkozal committed Dec 19, 2016
1 parent 8b06b29 commit df29479
Show file tree
Hide file tree
Showing 2 changed files with 5,233 additions and 6,128 deletions.
3 changes: 2 additions & 1 deletion app/assets/javascripts/components/sidebar/item_document.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ Vue.component('sidebar-item-document', {
mounted() {
const self = this;
interact(self.$el, {
styleCursor: false
styleCursor: false,
ignoreFrom: '.dropdown'
}).draggable({
autoScroll: true,
onstart() {
Expand Down
Loading

0 comments on commit df29479

Please sign in to comment.