@widgetic/editor 3.10.50 → 3.10.51
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/dev/editor.js +20 -8
- package/lib/editor.js +1 -1
- package/package.json +1 -1
- package/src/editor/content/browser/upload.html +11 -0
package/package.json
CHANGED
|
@@ -220,6 +220,9 @@ export default {
|
|
|
220
220
|
|
|
221
221
|
// load uploaded files
|
|
222
222
|
this.refresh();
|
|
223
|
+
|
|
224
|
+
// scroll to uploads files list to bottom
|
|
225
|
+
this.scrollToListBottom();
|
|
223
226
|
},
|
|
224
227
|
ondestroy() {
|
|
225
228
|
this.observer.cancel();
|
|
@@ -360,6 +363,14 @@ export default {
|
|
|
360
363
|
|
|
361
364
|
_onDropZoneNewUpload(event) {
|
|
362
365
|
// console.log("on DropZone New Upload:", event);
|
|
366
|
+
|
|
367
|
+
// scroll the list to the bottom
|
|
368
|
+
this.scrollToListBottom();
|
|
369
|
+
},
|
|
370
|
+
|
|
371
|
+
// scroll to uploads files list to bottom
|
|
372
|
+
scrollToListBottom() {
|
|
373
|
+
// console.log("on DropZone New Upload:", event);
|
|
363
374
|
this.refs.scrollPane && this.refs.scrollPane.scrollBottom();
|
|
364
375
|
},
|
|
365
376
|
|