Skip to content

Commit

Permalink
previous commit suplement
Browse files Browse the repository at this point in the history
  • Loading branch information
Stavros Kasidis committed Dec 24, 2018
1 parent 382ee54 commit 1b73db2
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
async Task OnClick()
{
var resultTask = dialogService.ShowDialog<string>("bootstrap-dialog", "Are you sure?");
await Task.Delay(50); //allow UI to be rendered, hack for bootstrap
await JSRuntime.Current.InvokeAsync<object>("ShowBootstrapModal", "bootstrap-dialog"); //Trigger bootstrap's modal
dialogResult = await resultTask;
}
Expand Down

0 comments on commit 1b73db2

Please sign in to comment.