Open marisveide opened 1 year ago
Also seeing this issue
Thanks for reporting this! We've triaged this as high priority and will try to get a fix out as soon as we can.
@marisveide , I managed to reproduce the issue on my iPhone in Safari.
One quick question ... If you add <meta name="viewport" content="width=device-width, initial-scale=1" />
to the HEAD section of your HTML, does it solve the problem?
Hey, @joeyfreund !
Thank you for digging this...
I have tried to put this line in the Ruby on Rails project embedded_app.html.erb
file like this - but sadly it does not make any difference.
I tried on iPhone 13 Plus, Chrome browser. The outer iframe is still larger than the viewport, so it can be scrolled up, to show the bottom part with action buttons.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<% application_name = ShopifyApp.configuration.application_name %>
<title><%= application_name %></title>
...
Also seeing this on iOS Safari. The buttons show up at the top if you are in landscape, but on partrait nothing shows (except unless you double scroll at bottom). Does not help with meta tag either 😔
EDIT: Easy way to reproduce. Swipping (scrolling) inside the app iframe does not reveal the buttons. Swipping on the Shopify controlled part of the page (top bar) reveals the buttons at the bottom. So it seems the height set on the iframe part of the viewport is set too high. It cannot show the top bar, app iframe & actions at the same time stacked vertically.
Describe the bug
On mobile - when opening the app, there is no navigation/action buttons visible. When I scroll to the bottom of the page, they still are not visible. When I scroll down once more, only then they appear - from the outer iframe, which comes into visible space. Then, when I scroll up, the action buttons stick to the bottom of the screen, as expected.
To Reproduce
Steps to reproduce the behaviour:
https://admin.shopify.com/store/<your-store>/apps/excel-export-import
See the video recording that demonstrates the issue: https://youtu.be/7XCdbN8t6IE
Also, see the following screenshots:
Expected behaviour
Contextual information
Packages and versions
Platform
Additional context
Maybe it is also related to the bottom yellow banner that shows that store transfer is not possible - because it too eats up the space from the bottom. But this issue shows up even if I close that notice.
@itissible/matrixify