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

MutationObserver is not defined error in SSR/prerender #13910

Closed
kdinev opened this issue Feb 15, 2024 · 0 comments · Fixed by #13913 or #13911
Closed

MutationObserver is not defined error in SSR/prerender #13910

kdinev opened this issue Feb 15, 2024 · 0 comments · Fixed by #13913 or #13911
Assignees
Labels
angular: ssr 💥 severity: critical 🐛 bug Any issue that describes a bug button-group 📉 regression version: 17.0.x ✅ status: resolved Applies to issues that have pending PRs resolving them, or PRs that have already merged.

Comments

@kdinev
Copy link
Member

kdinev commented Feb 15, 2024

Description

The igx-buttongroup component references a MutationObserver type in ngAfterViewInit code, which is not available in server platforms.

  • igniteui-angular version: 17.0.13
  • browser: server

Steps to reproduce

  1. Create an angular application with SSR/prerender and add an igx-buttongroup to the first view.
  2. Build the application

Result

Build fails with an error.

Expected result

Build should succeed.

Attachments

image

@hanastasov hanastasov added 👀 status: in-review Issue is currently being reviewed 🛠️ status: in-development Issues and PRs with active development on them and removed 🆕 status: new 👀 status: in-review Issue is currently being reviewed labels Feb 15, 2024
@hanastasov hanastasov added ✅ status: resolved Applies to issues that have pending PRs resolving them, or PRs that have already merged. and removed 🛠️ status: in-development Issues and PRs with active development on them labels Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
angular: ssr 💥 severity: critical 🐛 bug Any issue that describes a bug button-group 📉 regression version: 17.0.x ✅ status: resolved Applies to issues that have pending PRs resolving them, or PRs that have already merged.
Projects
None yet
4 participants