Skip to content

Commit dc2b8cf

Browse files
docs(splitter): does not rerender after events
1 parent 71552e1 commit dc2b8cf

File tree

3 files changed

+19
-3
lines changed

3 files changed

+19
-3
lines changed

_contentTemplates/common/issues-and-warnings.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,10 @@ Open the Client `.csproj` file and ensure that the following switch is present.
1515

1616
#valuechanged-lambda-required
1717
>note The lambda expression in the handler is required by the framework: [https://github.com/aspnet/AspNetCore/issues/12226](https://github.com/aspnet/AspNetCore/issues/12226).
18-
#
18+
#end
19+
20+
21+
#component-does-not-re-render
22+
>note For performance reasons, the component does not re-render after this event, even though it is an `EventCallback`. This means that you cannot change its settings such as dimensions, or settings/parameters of child components in it.
23+
#end
24+

components/splitter/events.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ Try collapsing any of the panes by clicking the corresponding arrow on the adjac
5555
}
5656
````
5757

58+
@[template](/_contentTemplates/common/issues-and-warnings.md#component-does-not-re-render)
59+
60+
5861
## OnExpand
5962

6063
The `OnExpand` event fires when a pane is expanded. It receives the index of the pane that was expanded in its event arguments.
@@ -94,6 +97,9 @@ Try collapsing and expanding any of the panes by clicking the corresponding arro
9497
}
9598
````
9699

100+
@[template](/_contentTemplates/common/issues-and-warnings.md#component-does-not-re-render)
101+
102+
97103
## OnResize
98104

99105
The `OnResize` event fires after the user has finished resizing a pane (after the mouse button is released). It fires for each resized pane and receives the index and new size in its event arguments.
@@ -133,6 +139,10 @@ Try resizing any of the panes by dragging the splitbars
133139
}
134140
````
135141

142+
@[template](/_contentTemplates/common/issues-and-warnings.md#component-does-not-re-render)
143+
144+
145+
136146
## See Also
137147

138148
* [Splitter Overview]({%slug splitter-overview%})

components/tilelayout/events.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ The `OnResize` event is fired when any tile is resized. It lets you respond to t
7777
}
7878
````
7979

80-
>note For performance reasons, the component does not re-render after this event, even though it is an EventCallback. This means that you cannot change its settings such as [state]({%slug tilelayout-state%}), or settings/parameters of child components in it.
80+
@[template](/_contentTemplates/common/issues-and-warnings.md#component-does-not-re-render)
8181

8282
## OnReorder
8383

@@ -115,7 +115,7 @@ The `OnReorder` event fires when tiles have been reordered. You can use it to, f
115115
}
116116
````
117117

118-
>note For performance reasons, the component does not re-render after this event, even though it is an EventCallback. This means that you cannot change its settings such as [state]({%slug tilelayout-state%}), or settings/parameters of child components in it.
118+
@[template](/_contentTemplates/common/issues-and-warnings.md#component-does-not-re-render)
119119

120120
## See Also
121121

0 commit comments

Comments
 (0)