We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent becfdeb commit 037be7dCopy full SHA for 037be7d
src/BootstrapBlazor/Components/Drawer/Drawer.razor.cs
@@ -192,11 +192,6 @@ public async Task OnContainerClick()
192
await OnClickBackdrop();
193
}
194
_render = false;
195
- var animation = await InvokeAsync<bool>("execute", Id, false);
196
- if (animation)
197
- {
198
- await Task.Delay(300);
199
- }
200
await Close();
201
_render = true;
202
@@ -209,6 +204,11 @@ public async Task OnContainerClick()
209
204
public async Task Close()
210
205
{
211
206
IsOpen = false;
207
+ var animation = await InvokeAsync<bool>("execute", Id, false);
208
+ if (animation)
+ {
+ await Task.Delay(300);
+ }
212
if (OnCloseAsync != null)
213
214
await OnCloseAsync();
0 commit comments