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

[IxBreadcrumb] Can't access property "$hostElement$" #809

Closed
robert-wettstaedt opened this issue Oct 5, 2023 · 0 comments · Fixed by #811
Closed

[IxBreadcrumb] Can't access property "$hostElement$" #809

robert-wettstaedt opened this issue Oct 5, 2023 · 0 comments · Fixed by #811
Assignees
Labels
type: bug Something isn't working

Comments

@robert-wettstaedt
Copy link
Contributor

What happened?

When both, an IxBreadcrumb and an IxDropdown are on the same page, there is some weird behavior between them causing an uncaught exception to be thrown: Can't access property "$hostElement$", hostRef is undefined

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

React

Which version of iX do you use?

v2.0.1

Code to produce this issue.

Codesandbox example: https://codesandbox.io/s/ixbreadcrumb-cant-access-property-hostelement-j8z37s


Click on the dropdown element to see an exception in the breadcrumb being thrown. 
If you remove the breadcrumb from the sample code, the error will not be thrown when you click on the dropdown element.
@robert-wettstaedt robert-wettstaedt added the triage We discuss this topic in our internal weekly label Oct 5, 2023
@danielleroux danielleroux added the type: bug Something isn't working label Oct 5, 2023
@danielleroux danielleroux self-assigned this Oct 5, 2023
@danielleroux danielleroux removed the triage We discuss this topic in our internal weekly label Oct 5, 2023
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

Successfully merging a pull request may close this issue.

2 participants