Hello Shopify Community,
I am working with <Layout.Section variant="oneThird">
and using IndexTable in my app interface. The issue I’m experiencing is that whenever an inline error message appears for a row, the whole row layout breaks. Specifically, the content shifts up and down, causing an inconsistent and glitchy UI.
I have tried applying vertical-align: top !important;
to fix the alignment, but it does not seem to work effectively.
The inline error messages happen in different use cases such as:
-
Duplicate quantity is not allowed
-
Quantity field is mandatory
-
Value is mandatory
-
Quantity must be greater than or equal to 1
-
Discount value must be between 0 and 100
I am looking for:
-
Best practices or solutions to keep the IndexTable row layout stable when these error messages show up inline
-
How to properly style or manage vertical alignment for these messages to avoid the layout jumping
-
Examples of handling multiple inline error messages gracefully in Shopify app UI components
Any help or code snippets will be greatly appreciated!
Thank you.