mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(item): option button enables swiping
This commit is contained in:
2
js/angular/directive/itemOptionButton.js
vendored
2
js/angular/directive/itemOptionButton.js
vendored
@@ -45,6 +45,8 @@ IonicModule
|
||||
}
|
||||
itemCtrl.optionsContainer.append($element);
|
||||
|
||||
itemCtrl.$element.addClass('item-right-editable');
|
||||
|
||||
//Don't bubble click up to main .item
|
||||
$element.on('click', stopPropagation);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user