When the image min-height is set to “vh”, the image moves in chrome on ios.
-
Hi, I am using Elementor and Astra themes. I wanted to create a first view that fits the mobile screen, so I set the min-height of the image to 100vh. However, when I checked on chrome on my iPhone, the image moved like this↓.
using Astra theme using Twenty Twenty-Four theme I have brought Elementor and WordPress versions up to date, disabled all plugins except Elementor, and changed the theme, but as you see above, the result did not change. I tried dvh, svh, lvh but the results were the same. I think the cause of it lies in the address bar of the mobile browser.
It works fine in the Safari browser but not in the Brave browser.
Is there any solution?
Thanks.Here are some information.
iPhone XS iOS 17.3.1
Google Chrome 123.0.6312.52
WordPress 6.4.3
Elementor 3.20.1The page I need help with: [log in to see the link]
- The topic ‘When the image min-height is set to “vh”, the image moves in chrome on ios.’ is closed to new replies.