Fix unintentional resizing of viewports
This commit is contained in:
1 parent
f7e888d1be
commit
31a9f09992
3 files changed
+10
-13
No files matched your search
@@ -1,11 +1,10 @@
|
||||
Template.flexboxLayout.events({
|
||||
'transitionend .sidebarMenu'() {
|
||||
handleResize();
|
||||
},
|
||||
'transitionend .sidebarMenu'(event) {
|
||||
if (!event.target.classList.contains('sidebarMenu')) {
|
||||
return;
|
||||
}
|
||||
|
||||
'transitionend .sidebar-option'(event) {
|
||||
// Prevent this event from bubbling
|
||||
event.stopPropagation();
|
||||
handleResize();
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user