-
Notifications
You must be signed in to change notification settings - Fork 47
server app instance not removed from DOM after client bootstraps appย #111
Description
Note: for support questions, please use the Universal Slack Channcel or https://gitter.im/angular/universal
- I'm submitting a ...
- bug report
- feature request
- Which parts of preboot are affected by this issue?
- server side
- client side
- inline
- build process
- docs
- tests
-
Do you want to request a feature or report a bug?
Question/bug -
What is the current behavior?
I'm having an issue with the application not working withbufferset to true. (works if I turn off buffer). What happens is that the visibleapp-rootis completely unusable while the hidden one withdisplay: noneworks correctly. The pre-rendered version should be removed or hidden from the DOM once the client finishes bootstrapping, but in this case it doesn't happen.
https://i.imgur.com/S8n4ctp.png
-
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem by creating a github repo.
I only addedPrebootModule.withConfig({ appRoot: 'app-root' }),to app.module and
applied a fix for the flickering issue mentioned Big FOUC as server side styles removed before the switch to client sideย #75 (comment) -
What is the expected behavior?
It should remove the pre-rendered selector from the DOM after the client is finished bootstrapping. -
What is the motivation / use case for changing the behavior?
I need help getting this fixed -
Please tell us about your environment:
- Browser: Chrome 79
- Language: Typescript
- OS: Windows
- Platform: NodeJs
- Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)