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

Core modal. Sometimes parameters are disposed due to the rase condition. #4270

Open
ievgennaida opened this issue Apr 22, 2024 · 0 comments
Open

Comments

@ievgennaida
Copy link

ievgennaida commented Apr 22, 2024

  "dependencies": {
    "framework7": "^8.3.0",
    "framework7-svelte": "^8.3.0",
    "svelte": "^4.2.0"
  },
  "devDependencies": {
    "@sveltejs/vite-plugin-svelte": "^2.4.5",
    "vite": "^4.4.9"
  }

Describe the bug

When modal is disposed some events still can be fired that can lead to undefined access exception.
(See screenshot)

To Reproduce

It's hard to reproduce issue while happening in rare cases due to some rase.
but sometimes when modal is disposed parameres are empty and line displayed in the screenshot is crashing app.

Expected behavior

Just check that parameters are not undefined before using them.

Actual Behavior

Exception.

Screenshots

Lines 55 and 60
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant