Modal
element does not support StyleHelper
#2500
Labels
bug
Something isn't working
Checkout UI Components
This issue is related to the Checkout UI component library
Checkout UI Extensions
Please list the package(s) involved in the issue, and include the version you are using
"@shopify/checkout-ui-extensions-react": "^0.27.3"
Describe the bug
I'm trying to make the
size
prop of theModal
element dynamic:but it doesn't actually work.
When I'm trying this approach with other elements like
View
,Grid
, theStyleHelper
works just fine.Steps to reproduce the behavior:
In a basic Checkout UI Extension, add a
Modal
component:Expected behavior
When size is statically set with
size="max"
:The modal shows up normally on a
1920px
screen width:However, when it is set with a dynamic value
it shows up differently:
The text was updated successfully, but these errors were encountered: