When using the shopify app bridge Modal component the close(“x”) button at the top doesn’t work.
Here’s the link to the doc.
import {Modal, TitleBar, useAppBridge} from '@shopify/app-bridge-react';
export function MyModal() {
const shopify = useAppBridge();
return (
<>
);
}
More over can you explain why the primary and secondary action button clicks submit the form?