Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 9 additions & 11 deletions examples/Demo/Shared/Pages/Dialog/DialogPage.razor
Original file line number Diff line number Diff line change
Expand Up @@ -64,17 +64,15 @@
Dialogs are rendered by the <code>&lt;FluentDialogProvider /&gt;</code> component. This component needs to be added to the main layout of your application/site.
You typically do this in the <code>MainLayout.razor</code> file at the end of the <code>&lt;main&gt;</code> section like this:
</p>
<p>
<strong>
For the Dialogs to work properly, the <code>&lt;FluentDialogProvider/&gt;</code> needs interactivity! <p>
<strong>
For the Dialogs to work properly, the <code>&lt;FluentDialogProvider/&gt;</code> needs interactivity! If you are using "per page" interactivity, make sure to add a <code>@@rendermode</code> to
either the provider itself or the component the provider is placed in.
</strong>
</p>Be sure to add a <code>@@rendermode</code> to
either the provider itself or the component the provider is placed in.
</strong>
</p>
<FluentMessageBar Style="margin-bottom: 1em;" Title="IMPORTANT:" Intent="@MessageIntent.Warning" AllowDismiss="false">
<p>
<strong>
For the Dialogs to work properly, the <code>&lt;FluentDialogProvider/&gt;</code> needs interactivity! If you are using "per page" interactivity, make sure to add a <code>@@rendermode</code> to
either the provider itself or the component the provider is placed in.
</strong>
</p>
</FluentMessageBar>

<CodeSnippet>
&lt;main&gt;
&lt;nav&gt;
Expand Down