You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current behavior:
For some reason when testing SSR with javascript disabled, rendered styles are missing some properties.
In particular inputs with both stacked and floating labels, are missing these styles:
Thanks for the issue and apologies for the delay. In the time since this issue was opened, there have been many enhancements and fixes made to Ionic Framework that may have resolved this issue.
It is difficult for us to verify whether or not this is still an issue as no GitHub repo was provided in the original post (Code snippets are typically not enough to reproduce more complex issues). I am going to close this issue for now. If this issue is still occurring, please reply with a minimal GitHub repo that we can use to verify this behavior. At that point, we will be more than happy to reopen this issue. Thank you!
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
Bug Report
Ionic version:
[ ] 4.x
[x] 5.x
Current behavior:
For some reason when testing SSR with javascript disabled, rendered styles are missing some properties.
In particular inputs with both stacked and floating labels, are missing these styles:
.input-wrapper
in SSR these flex properties are not applied<ion-input>
in SSR these padding properties are not applied<ion-item>
in SSR this--min-height
override value is not appliedExpected behavior:
<ion-item>
gets rendered in SSR (with javascript disabled) with the same CSS properties it has when rendered in the browser.Steps to reproduce:
<ion-item>
and floating<ion-label>
npm run dev:ssr
<ion-item>
visual diff between SSR and browser rendering. Also it's missing theitem-label-floating
class.Other information:
It seems to be ignoring adding the
.item-label-floating
class to the<ion-item>
when generating the build for SSRSSR Ionic Form (Pixel 2)
Browser rendered Ionic Form (Pixel 2)
Ionic info:
The text was updated successfully, but these errors were encountered: