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

iX service initialization #1501

Open
2 tasks done
szreka24 opened this issue Oct 3, 2024 · 1 comment
Open
2 tasks done

iX service initialization #1501

szreka24 opened this issue Oct 3, 2024 · 1 comment
Labels
needs reproduction Bugs with the label will not be addressed until the steps to reproduce are available

Comments

@szreka24
Copy link

szreka24 commented Oct 3, 2024

Prerequisites

  • I have read the Contributing Guidelines.
  • I have not leaked any internal/restricted information like screenshots, videos, code snippets, links etc.

What happened?

The Angular application throws a TypeError: dialogRef.showModal is not a function during the initialization process.

The error:
message: "dialogRef.showModal is not a function"
stack: "TypeError: dialogRef.showModal is not a function"

  1. Initialize the Angular application.
  2. Use the iX library's dialog functionality to show a modal.
  3. Observe the error in the browser console.

What type of frontend framework are you seeing the problem on?

Angular

Which version of iX do you use?

v2.3.0

Code to produce this issue.

I tried to replicate the problem, but unfortunately I couldn't. 
However, it might still be a good starting point: https://stackblitz.com/edit/ne22aj-bdgl4h

Note: I managed to resolve the issue using setTimeout(() => this.openModal(), 100), which suggests it might be a timing problem.
@szreka24 szreka24 added the triage We discuss this topic in our internal weekly label Oct 3, 2024
@danielleroux danielleroux added needs reproduction Bugs with the label will not be addressed until the steps to reproduce are available and removed triage We discuss this topic in our internal weekly labels Oct 7, 2024
Copy link
Contributor

github-actions bot commented Oct 7, 2024

Thank you for creating this issue! It has been labeled as needs reproduction.

To help us assist you better, could you please provide a way for us to access the code (such as a GitHub repository or a StackBlitz link). Without a reliable code reproduction, it might be challenging for us to resolve the issue, and we may have to close it.
Thank you for your understanding!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs reproduction Bugs with the label will not be addressed until the steps to reproduce are available
Projects
None yet
Development

No branches or pull requests

2 participants