App reviews, troubleshooting, and recommendations
Can someone help me understand how the position absolute attribute on a view component works.
My goal is to make the view sit over other elements on the page. By default the position is relative, but according the docs it should allow absolute. But it's not.
const resultBlock = root.createComponent(
View,
{
display: 'block',
id: 'viewresult',
position: "absolute",
zIndex: 10000
}
);
Ideally I want that element to overlay others on the page (and shift it down 4px).
Thanks in advance for any pointers you have.
Greg
I forgot to include the front-end output which shows it as position relative:
There's no compile errors. It's just not working.
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025