-
Notifications
You must be signed in to change notification settings - Fork 16
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
Plugin doesn't work in Nuxt3 + Ionic #22
Comments
I am not able to reproduce this. Please provide a minimal reproduction repository for further help |
As a matter of fact, I see that you're using Nuxt3, which could indicate that you're using SSR. In that case #17 might be of relevance |
Hello, yes, I'm using Nuxt3 but I've set |
GM @tafelnl I figured out what the issue was, it's unbelievable, but it was a matter of meta tags.
And it started working, you can even use vueUse useScreenSafeArea. |
Thanks for getting back with this info |
Describe the bug
I've followed the instructions but when running the app in iOS, the console prints
SafeArea enable -1
and all thevar(--safe-area-inset-*)
vars give 0px of value.I enable the plugin in the app.vue like this
And in the nuxt.config.ts I've set the
viewport
meta tag like thisBut still no success
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The text welcome should appear below the notch
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: