@afeefa/vue-app 0.0.198 → 0.0.199

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.
@@ -1 +1 @@
1
- 0.0.198
1
+ 0.0.199
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@afeefa/vue-app",
3
- "version": "0.0.198",
3
+ "version": "0.0.199",
4
4
  "description": "",
5
5
  "author": "Afeefa Kollektiv <kollektiv@afeefa.de>",
6
6
  "license": "MIT",
@@ -81,10 +81,12 @@ export default class FlyingContext extends Mixins(CancelOnEscMixin) {
81
81
  this.$events.dispatch(new FlyingContextEvent(FlyingContextEvent.START_HIDE_CONTEXT))
82
82
 
83
83
  setTimeout(() => { // fade in then hide contents
84
- this.$el.appendChild(this.getContent())
85
- this.coe_unwatchCancel() // hide context -> do not watch esc any more
86
- this.isVisible = false
87
- this.$emit('hide')
84
+ if (this.$el && this.getContent()) { // if left current route, this might not be existing any longer
85
+ this.$el.appendChild(this.getContent())
86
+ this.coe_unwatchCancel() // hide context -> do not watch esc any more
87
+ this.isVisible = false
88
+ this.$emit('hide')
89
+ }
88
90
  }, 200)
89
91
  }
90
92
  }