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:
parent
c77b384215
commit
38b401f646
25 changed files with 148 additions and 96 deletions
|
@ -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
|
||||
// },
|
||||
},
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue