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

Expanding org chart node raises error #12946

Closed
mkoestner opened this issue Apr 26, 2023 · 0 comments
Closed

Expanding org chart node raises error #12946

mkoestner opened this issue Apr 26, 2023 · 0 comments
Assignees
Labels
LTS-FIXED-13.4.4 LTS-FIXED-14.2.6 Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@mkoestner
Copy link

Describe the bug
Looks like a new bug in 15.4.0
If you try the component in the documentation you get the following error in the console:

in.df8ff6c401bed359.js:1 ERROR TypeError: r.className.indexOf is not a function
at n.onNodeClick (6909.995347ac501d0042.js:1:8737)
at n.onNodeClick (6909.995347ac501d0042.js:1:5249)
at 6909.995347ac501d0042.js:1:3440
at qm (main.df8ff6c401bed359.js:1:1398812)
at C (main.df8ff6c401bed359.js:1:1398979)
at HTMLDivElement. (main.df8ff6c401bed359.js:1:1487193)
at v.invokeTask (polyfills.592a92282d9cd7cd.js:1:7171)
at Object.onInvokeTask (main.df8ff6c401bed359.js:1:1428767)
at v.invokeTask (polyfills.592a92282d9cd7cd.js:1:7092)
at L.runTask (polyfills.592a92282d9cd7cd.js:1:2536)
handleError @ main.df8ff6c401bed359.js:1
Mm @ main.df8ff6c401bed359.js:1
qm @ main.df8ff6c401bed359.js:1
C @ main.df8ff6c401bed359.js:1
(anonymous) @ main.df8ff6c401bed359.js:1
invokeTask @ polyfills.592a92282d9cd7cd.js:1
onInvokeTask @ main.df8ff6c401bed359.js:1
invokeTask @ polyfills.592a92282d9cd7cd.js:1
runTask @ polyfills.592a92282d9cd7cd.js:1
invokeTask @ polyfills.592a92282d9cd7cd.js:1
O @ polyfills.592a92282d9cd7cd.js:1
N @ polyfills.592a92282d9cd7cd.js:1
B @ polyfills.592a92282d9cd7cd.js:1

Environment
Browser, PrimeNG

PrimeNG version
15.4.1

Steps to reproduce the behavior
Open the link above, open the browser console and then expand a node in the org chart

@github-actions github-actions bot added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Apr 26, 2023
@cetincakiroglu cetincakiroglu added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Apr 26, 2023
@cetincakiroglu cetincakiroglu self-assigned this Apr 26, 2023
@cetincakiroglu cetincakiroglu added this to the 15.4.2 milestone Apr 26, 2023
mkoestner added a commit to mkoestner/primeng that referenced this issue Apr 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
LTS-FIXED-13.4.4 LTS-FIXED-14.2.6 Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

No branches or pull requests

3 participants