Skip to content

bug: ion-content fullscreen is not compatible with pre-rendering #27411

@WDrzewiecki

Description

@WDrzewiecki

Prerequisites

Ionic Framework Version

v7.x

Current Behavior

SSR not working after upgrading to angular 16, even in ionic starter app. After starting dev server and opening the app, the page loads until the server throws out of memory.
With a production build server throws "NotYetImplemented" error and returns only original index.html file without rendered page.

Expected Behavior

SSR should work with angular 16.

Steps to Reproduce

  1. Start SSR dev server (npm run dev:ssr)
  2. Visit app located on localhost:4200
  3. Loading continues until the server throws out of memory
    OR
  4. Build app
  5. Run npm run serve:ssr
  6. Visit app with disabled javascript

Code Reproduction URL

https://github.com/WDrzewiecki/ionic-ssr

Ionic Info

Ionic:

Ionic CLI : 7.1.1 (/usr/local/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 7.0.5
@angular-devkit/build-angular : 16.0.0
@angular-devkit/schematics : 16.0.0
@angular/cli : 16.0.0
@ionic/angular-toolkit : 9.0.0

Capacitor:

Capacitor CLI : 5.0.1
@capacitor/android : not installed
@capacitor/core : 5.0.1
@capacitor/ios : not installed

Utility:

cordova-res : 0.15.4
native-run : 1.7.2

System:

NodeJS : v18.16.0 (/usr/local/bin/node)
npm : 9.5.1
OS : macOS Unknown

Additional Information

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions