taiga-family / taiga-ui

Angular UI Kit and components library for awesome people
https://taiga-ui.dev
Apache License 2.0
3.1k stars 408 forks source link

🐞 - tui-select broken with SSR #8018

Open hheexx opened 2 days ago

hheexx commented 2 days ago

Playground Link

No response

Description

I am trying to enable SSR for my website.

I have to apply ngSkipHydration to all s. If not i get the error:

NG0502: During serialization, Angular was unable to find an element in the DOM:

node(projection)

<-- AT THIS LOCATION … To fix this problem: * check corresponding component for hydration-related issues * check to see if your template has valid HTML structure * or skip hydration by adding the `ngSkipHydration` attribute to its host node in a template Find more at https://angular.dev/errors/NG0502 at nodeNotFoundError at calcPathForNode at appendSerializedNodePath at conditionallyAnnotateNodePath at serializeLView at annotateHostElementForHydration at serializeLView at annotateHostElementForHydration at serializeLView at annotateHostElementForHydration Is this something that is known? I may try to provide reproduction if it is needed. ### Angular version 18.0.4 ### Taiga UI version 3.66.0 ### Which browsers have you used? - [ ] Chrome - [X] Firefox - [ ] Safari - [ ] Edge ### Which operating systems have you used? - [ ] macOS - [X] Windows - [ ] Linux - [ ] iOS - [ ] Android
hheexx commented 2 days ago

I've also tried with latest 3.x taiga, does not help.