-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
fix: ionic 7 tabs don't have any style even on playground #321
Comments
Hi, the same behavior happens with ion-back-button, I noticed that it only happens the first time when running "npm run dev". If we run it again, everything looks correct and without class="undefined |
I can confirm this issue still exists, what @therhenals says is also correct. The second time you run the command they do get loaded. However when using |
In addition to this, it looks like it is happening with more components. For debugging purposes I added a simple list component. You see the missing styling, the issue that it runs through the header is because of the missing safe view settings. But I don't think that is related to this problem. A difference I could find when debugging is that in the source of the browser the "ios" class is present in all components when using the iPhone simulations. However in the IOS simulator when debugging with safari, the "ios" class is only present on the Maybe this has something to do with it, because if we take my example of the As you can see the CSS string is bound to the ios platform, so if it can't decide which one it is the css is missing., edit |
I'm having the same issue. I need to run "pnpm dev" a second time to get the tab bar to show. |
Following up on this, not a blocker but having to run dev twice is silly |
So for more context it seems that ALL css is missing when this occurs. Its also not consistent |
Some further investigation. We have in development where the error comes up that the page is missing the ion-page tag and we are missing the css. We have noticed that it happens for me when the Vite client warmed up message appears after the Nitro built in ## message. Works
Doesn't work
|
Hi, are there any updates on this issue? Were you able to find a reasonable workaround? |
This is not now reproducible. Let me know if you encounter this with the next release and we can reopen. |
I encountered the same issue today, after uprgrading nuxt to latest version. |
🐛 The bug
Hi 👋
I was trying out the last version of Ionic, and I noticed that the tabs don't have any style. On my personal app, I also noticed some other quirks. I searched upstream, on the ionic framework git and couldn't find anyone talking about this, so I'm not sure where it's coming from.
There's a bunch of
class="undefined"
.Playground picture:
🛠️ To reproduce
https://stackblitz.com/github/nuxt-modules/ionic/tree/main/playground
🌈 Expected behaviour
Tabs have style.
ℹ️ Additional context
No response
The text was updated successfully, but these errors were encountered: