Shopify / ui-extensions

MIT License
267 stars 36 forks source link

[BUG] Backdrop not shown for modal dialog component #415

Open Aswathprabhu opened 2 years ago

Aswathprabhu commented 2 years ago

Please list the package(s) involved in the issue, and include the version you are using

admin-ui-extensions-react V0.11.0

Describe the bug

Modal dialog is included as a component that can be used in the product subscription extension environment but the backdrop is not shown when consumed within the product subscription extension environment (attached screen)

The background becomes interactive even if the modal dialog is open. I'm not able to use modal dialog on this view due to this issue. Any help?

Expected behavior

Backdrop should be shown, so that the background is not interactive

Screenshots

___Aswath____0-1658756640242

Additional context

Aswathprabhu commented 2 years ago

@henrytao-me @lemonmade Can anyone help on this? thanks.

elanalynn commented 2 years ago

@Aswathprabhu We're investigating this now. I'll keep you posted on a fix!

elanalynn commented 2 years ago

@Aswathprabhu I'm not able to reproduce what you have in your screen shot. Could you please share your extension code? Maybe we can identify a difference on the usage?

Simple example with a modal rendered in the Add extension point:

Screen Shot 2022-08-08 at 2 08 42 PM

Aswathprabhu commented 2 years ago

@elanalynn I'm still facing this. This is the sample code I'm using.