|
@@ -120,7 +120,7 @@ module.exports = class Dashboard extends Plugin {
|
|
const defaultOptions = {
|
|
const defaultOptions = {
|
|
target: 'body',
|
|
target: 'body',
|
|
metaFields: [],
|
|
metaFields: [],
|
|
- trigger: '#uppy-select-files',
|
|
|
|
|
|
+ trigger: null,
|
|
inline: false,
|
|
inline: false,
|
|
width: 750,
|
|
width: 750,
|
|
height: 550,
|
|
height: 550,
|
|
@@ -500,7 +500,8 @@ module.exports = class Dashboard extends Plugin {
|
|
clearTimeout(this.makeDashboardInsidesVisibleAnywayTimeout)
|
|
clearTimeout(this.makeDashboardInsidesVisibleAnywayTimeout)
|
|
}
|
|
}
|
|
|
|
|
|
- // Records whether we have been interacting with uppy right now, which is then used to determine whether state updates should trigger a refocusing.
|
|
|
|
|
|
+ // Records whether we have been interacting with uppy right now,
|
|
|
|
+ // which is then used to determine whether state updates should trigger a refocusing.
|
|
recordIfFocusedOnUppyRecently = (event) => {
|
|
recordIfFocusedOnUppyRecently = (event) => {
|
|
if (this.el.contains(event.target)) {
|
|
if (this.el.contains(event.target)) {
|
|
this.ifFocusedOnUppyRecently = true
|
|
this.ifFocusedOnUppyRecently = true
|