I have this modal window that shows up under the menu items it originates from.

I´m adding this menu item and then just open the modal
public class StreamEventSettingComponentContributor : ISettingComponentContributor
{
public async Task ConfigureAsync(SettingComponentCreationContext context)
{
var l = context.ServiceProvider.GetRequiredService<IStringLocalizer<BeinniResource>>();
context.Groups.Add(
new SettingComponentGroup(
"Beinni.Tenant.Subscripion",
l["YourSubscriptions"],
typeof(TenantSubscribtionDetailsViewComponent)
));
}
}
the modal
<Button Clicked="()=>OpenSubscriptionModal">@L["SubscribeButton"]</Button>
<Modal @ref="SelectSubscription" Closing="@OnModalClosing">
<ModalContent IsCentered="true" Size="ModalSize.Large">
<Form id="SelectSubscription">
<ModalHeader>
<ModalTitle>@L["SelectSubscription"]</ModalTitle>
<CloseButton Clicked="@HidePreviewModal" />
</ModalHeader>
<ModalBody>
...removed
</ModalBody>
</Form>
</ModalContent>
</Modal>
Opened like this
public async Task OpenSubscriptionModal()
{
await SelectSubscription.Show();
return;
}
Is there a way to do this in Blazor/Blazorise or do I need some CSS Z-style?
- Your ABP Framework version. 5.3.2
- Your User Interface Blazor
I have this modal window that shows up under the menu items it originates from.
I´m adding this menu item and then just open the modal
the modal
Opened like this
Is there a way to do this in Blazor/Blazorise or do I need some CSS Z-style?