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

Error in tab-nav - handling of "selected" leads to JS error of undefined #1587

Closed
wgmaik opened this issue Feb 10, 2023 · 0 comments · Fixed by #1608
Closed

Error in tab-nav - handling of "selected" leads to JS error of undefined #1587

wgmaik opened this issue Feb 10, 2023 · 0 comments · Fixed by #1608
Assignees
Labels
bug Something isn't working

Comments

@wgmaik
Copy link

wgmaik commented Feb 10, 2023

Scale Version
3.0.0-beta.117

Framework and version
Angular 14

Current Behavior
When switching tabs dynamically in an angular app its possible the the "selected" Variable bound to an angular variable gets updated
before the container is rendered:

image

Please check: https://stenciljs.com/docs/component-lifecycle

Expected Behavior
No error on console - check if container is initialized

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser CHROME
  • Version 107.0.5304.107 (Offizieller Build) (64-Bit)
@wgmaik wgmaik added the bug Something isn't working label Feb 10, 2023
@wgmaik wgmaik changed the title Error in tab-nav - handlung of "selected" leads to JS error of undefined Error in tab-nav - handling of "selected" leads to JS error of undefined Feb 10, 2023
@acstll acstll self-assigned this Feb 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants