Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firing emits in listeners not working #367

Open
Pinnokkio opened this issue Feb 16, 2023 · 1 comment
Open

Firing emits in listeners not working #367

Pinnokkio opened this issue Feb 16, 2023 · 1 comment
Labels
Type: Bug Something isn't working

Comments

@Pinnokkio
Copy link

Versions

  • 2.0.0-rc.5

Describe the bug

Emits do not fire when using custom components.

Expected behavior

Emits will fire.
Instead of breaking the page, Y should happen...

Steps to reproduce

Reproduction demo.
Steps:

  1. Create a toastification with a custom component which contains a button like in the example at https://codesandbox.io/s/vue-template-w2w2c
  2. Try to fire an event inside listener function using this.$emit
  3. Nothing happens.

Your Environment

  • Device: PC
  • OS: Win 11
  • Browser Chrome
  • Version newest

Additional context

@Pinnokkio Pinnokkio added the Type: Bug Something isn't working label Feb 16, 2023
@john-landgrave
Copy link

Can confirm that this is an issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants