[Bug Report] v-bottom-nav doesn't push up correctly on iPhone X
See original GitHub issueVersions and Environment
Vuetify: 1.4.4 Vue: 2.5.22 Browsers: Safari OS: iOS
Steps to reproduce
I’m creating a Cordova hybrid app. If I create a v-bottom-nav fixed to the bottom of the screen
<v-bottom-nav value="true" app>
<v-btn color="#ae2573" flat>
HOME
<v-icon>home</v-icon>
</v-btn>
<v-btn color="#ae2573" flat>
READING LIST
<v-icon>library_books</v-icon>
</v-btn>
<v-btn color="#ae2573" flat>
SEARCH
<v-icon>search</v-icon>
</v-btn>
</v-bottom-nav>
it gets covered up on an iPhone X with the safe area (see image1).
If I then put the necessary css as suggested (https://blog.phonegap.com/displaying-a-phonegap-app-correctly-on-the-iphone-x-c4a85664c493)
.v-bottom-nav {
margin-bottom: constant(safe-area-inset-bottom); /* move footer up on iPhone X - iOS 11.0 */
margin-bottom: env(safe-area-inset-bottom); /* move footer up on iPhone X - iOS 11.2 */
}
then it does push it up (see image2), however the content is shown below it. I think the navbar needs to cover this area with the same background color.
Expected Behavior
Content shouldn’t show below navbar.
Actual Behavior
Content shows below navbar.
Reproduction Link
Issue Analytics
- State:
- Created 5 years ago
- Reactions:3
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Bug Reporting - Apple Developer
With Feedback Assistant available on iPhone, iPad, Mac, and the web, it's easy to report issues you encounter and request enhancements to APIs,...
Read more >How to Report Bugs to Apple So They Get Fixed - TidBITS
Write clear, complete bug reports. Include screenshots, video, and sample code, if possible. Report bugs as early as possible. Work within ...
Read more >STOP These Push Up Mistakes! How To Do A Push Up Correctly
How to do a push up with perfect form every time - avoid these common mistakes! Bonus push ups progression for beginners -...
Read more >6 Dumbest Push-Up Mistakes Sabotaging Your Chest Growth ...
(0:15)- 7 Dumbest Tricep Dip Mistakes Sabotaging Your Triceps Growth!
Read more >NEVER DO PUSHUPS LIKE THIS | 10 Most Common Mistakes
Gotta Get up, Distant, Remanded In this FitnessFAQs video we will be ... Most people have never had guidance for how to push...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
In Vuetify 2.2.1 (pure web-app, not cordova) fixed it/hacked it using:
I didn’t use the bottom bar, however, I’m using Vuetify for a Capacitor/Cordova app and had similar issues. I used the following CSS to fix. It would be nice to have a utility for this.