question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

In Nuxt modal content loses scope

See original GitHub issue

For example I am required to do this.$nuxt.$store.$dispatch instead of this.$store.$dispatch for content that resides in <modal>

This is a problem when I have a component inside <modal> that is also used elsewhere outside the modal.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ktsncommented, Nov 20, 2018

I already fixed the error on v1.1.4.

0reactions
sebmorcommented, Nov 20, 2018

You are awesome, thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Vue.js variables lose scope inside foundation modal
I have the following v-for loop, in the scope of the first opening, and final closing <div> tags below. The first :src is...
Read more >
Modal | Components - BootstrapVue
Modals will not render their content in the document until they are shown (lazily rendered). Modals, when visible, are rendered appended to the...
Read more >
Complex Vue 3 state management made easy with Pinia
Build a basic blog engine using Pinia, a state management tool for Vue apps, and its main features, including state, getters, and actions....
Read more >
Angularjs modal is updating my parent scope before the ...
I'm launching a modal from my web page and i'm making some changes to an array that i'm passing from my parent, but...
Read more >
How to create a Modal Component in Nuxt
First, we must understand what a Modal is. A modal is a component that displays in front of a page content and makes...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found