Closed quocdatPTIT closed 4 months ago
The new <ui-modal /> component always renders with full height
<ui-modal />
Steps to reproduce the behaviour:
Add <ui-modal /> into code
Open the modal
If applicable, add screenshots to help explain your problem.
ui-modal height fit content
List the relevant packages you’re using, and their versions. For example:
@shopify/app-bridge-utils
3.5.1
@shopify/app-bridge-react
4.0.0
@shopify/polaris
12.19.2
Me too.
same 😢
This is what causing the issue
It's fixed. Thanks for reporting the issue 🙇
Describe the bug
The new
<ui-modal />
component always renders with full heightTo Reproduce
Steps to reproduce the behaviour:
Add
<ui-modal />
into codeOpen the modal
If applicable, add screenshots to help explain your problem.![image](https://github.com/Shopify/shopify-app-bridge/assets/38630622/fff3a183-f453-480f-b56b-c92663971922)
Expected behaviour
ui-modal height fit content![image](https://github.com/Shopify/shopify-app-bridge/assets/38630622/a5bb0eee-ae26-4104-bb6b-01d47ee0ba4a)
Contextual information
Packages and versions
List the relevant packages you’re using, and their versions. For example:
@shopify/app-bridge-utils
@3.5.1
@shopify/app-bridge-react
@4.0.0
@shopify/polaris
@12.19.2