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

Cannot read properties of undefined (reading 'focus') #357

Open
ginagr opened this issue Oct 21, 2022 · 1 comment
Open

Cannot read properties of undefined (reading 'focus') #357

ginagr opened this issue Oct 21, 2022 · 1 comment

Comments

@ginagr
Copy link

ginagr commented Oct 21, 2022

I'm submitting a ...

[x ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, post on Stackoverflow or Gitter

Current behavior
Sometimes when closing the modal I get a TypeError in the console. It doesn't crash and the modal hides itself successfully, but ideally there would be no error message.

Expected behavior
Modal hides without error message

Reproduction of the problem

What is the motivation / use case for changing the behavior?
No error message

Please tell us about your environment:
Angular/Typescript project

  • Smart Modal version: 0.8.x
    7.4.1

  • Angular version: 2.0.x
    14.2.7

  • Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
    all

  • Language: [all | TypeScript X.X | ES6/7 | ES5]
    all

Screen Shot 2022-10-21 at 3 52 54 PM

Screen Shot 2022-10-21 at 3 54 34 PM

@ginagr
Copy link
Author

ginagr commented Oct 21, 2022

Also sometimes this error pops up as well
Screen Shot 2022-10-21 at 3 56 07 PM

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