Can't get Scanner preview layout rendering correctly

Try as I might, I can’t get the Scanner API to render the camera preview properly on mobile.
I’ve been working on Android sim and physical iOS devices and always get this pushed down layout, I believe since migrating to Preact components but maybe earlier.

I’ve tried the 26-01 and 26-04 examples - rendering them as is and trying with different layouts combining Stacks. I’ve created fresh Modals and TOML’s to rule everything else out and haven’t been able to :confused:

I’m trying to render in a Modal once a tile is tapped which might be the issue?

Hey Josh!

The pushed down layout shouldn’t appear on api-version >= “2026-04”

Can you please confirm that api-version in /extensions/pos-smart-grid/shopify.extension.toml is correctly set to “2026-04”.

If that doesn’t fix your issue, please let me know :slight_smile:

Thanks for the insanely quick reply Richard :slight_smile: That did indeed fix it and will teach me for being lazy.