1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-22 06:39:43 +02:00

improved empty state and dropdown positions

This commit is contained in:
Harvey Kandola 2017-10-10 16:02:46 -04:00
parent c77b384215
commit 38b401f646
25 changed files with 148 additions and 96 deletions

View file

@ -26,5 +26,27 @@ export default Ember.Mixin.create({
if (is.not.null(drop) && is.not.null(drop.drop)) {
drop.destroy();
}
},
dropDefaults: {
// position: "bottom right",
openOn: "always",
tetherOptions: {
offset: "5px 0",
targetOffset: "10px 0",
// targetModifier: 'visible',
// attachment: 'middle right',
// targetAttachment: 'middle right',
constraints: [
{
to: 'scrollParent',
attachment: 'together'
}
],
// optimizations: {
// moveElement: false,
// gpu: false
// },
},
}
});