@widgetic/editor 3.10.51 → 3.10.53

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.51",
3
+ "version": "3.10.53",
4
4
  "scripts": {
5
5
  "start": "webpack --config webpack.config.js --watch --progress",
6
6
  "build": "webpack --config webpack.config.js",
@@ -10,7 +10,7 @@
10
10
  "postversion": "git push && npm publish",
11
11
  "genssl": "openssl req -x509 -newkey rsa:4096 -sha256 -days 3650 -nodes -keyout key.pem -out cert.pem -subj /CN=localhost",
12
12
  "server": "http-server -S -p 8083",
13
- "deploy": "cd ./lib && rsync * root@zeus.widgetic.com:/opt/widgetic_editor/lib"
13
+ "deploy": "cd ./lib && rsync -ruL * root@zeus.widgetic.com:/opt/widgetic_editor/lib"
14
14
  },
15
15
  "devDependencies": {
16
16
  "@widgetic/spine": "^2.0.3",
@@ -250,7 +250,12 @@ export default {
250
250
 
251
251
  activate() {
252
252
  if (!this.refs.scrollPane) return;
253
+
254
+ // update the scroll pane
253
255
  this.refs.scrollPane.update();
256
+
257
+ // scroll to the bottom
258
+ this.scrollToListBottom();
254
259
  },
255
260
 
256
261
  refresh(ev) {
@@ -307,7 +312,13 @@ export default {
307
312
  })
308
313
  .then(this.activate.bind(this))
309
314
  .catch(this._reportError.bind(this))
310
- .then(_ => this.set({ loading: false, error: null }));
315
+ .then(_ => {
316
+ // hide loading spinner
317
+ this.set({ loading: false, error: null })
318
+
319
+ // scroll to uploads files list to bottom
320
+ this.scrollToListBottom();
321
+ });
311
322
  },
312
323
 
313
324
  deleteSelected() {