@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@widgetic/editor",
3
- "version": "3.10.50",
3
+ "version": "3.10.51",
4
4
  "scripts": {
5
5
  "start": "webpack --config webpack.config.js --watch --progress",
6
6
  "build": "webpack --config webpack.config.js",
@@ -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