You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/data/components/accordion/accordion.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -290,7 +290,7 @@ When using CSS transitions, styles for the `Panel` must be applied to three stat
290
290
291
291
### JavaScript Animations
292
292
293
-
When using external libraries for animation, for example `framer-motion`, be aware that `Accordion.Item`s hides content using the html`hidden` attribute in the closed state, and does not unmount from the DOM.
293
+
When using external libraries for animation, for example `framer-motion`, be aware that `Accordion.Item`s hides content using the HTML`hidden` attribute in the closed state, and does not unmount from the DOM.
Copy file name to clipboardExpand all lines: docs/data/components/collapsible/collapsible.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -147,7 +147,7 @@ When using CSS transitions, styles for the `Panel` must be applied to three stat
147
147
148
148
### JavaScript Animations
149
149
150
-
When using external libraries for animation, for example `framer-motion`, be aware that Collapsible hides content using the html `hidden` attribute in the closed state, and does not unmount the `Collapsible.Panel` subcomponent.
150
+
When using external libraries for animation, for example `framer-motion`, be aware that Collapsible hides content using the HTML `hidden` attribute in the closed state, and does not unmount the `Collapsible.Panel` subcomponent.
Copy file name to clipboardExpand all lines: docs/data/components/menu/menu.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -161,7 +161,7 @@ Menu items can be used as radio buttons. To group them together, use the `Menu.R
161
161
<Demodemo="RadioItems" />
162
162
163
163
<Callouttype="warning">
164
-
If you rely on the RadioItem to manage its state (e.g., you use the `defaultChecked` and `onCheckedChange` props), ensure that the item is not unmounted when its parent menu is closed.
164
+
If you rely on the RadioItem to manage its state (for example, you use the `defaultChecked` and `onCheckedChange` props), ensure that the item is not unmounted when its parent menu is closed.
165
165
Unmounting the component resets its state.
166
166
167
167
To do this, add the `keepMounted` prop to the `Menu.Positioner` the checkbox item is in (and all parent positioners, in the case of a nested menu):
@@ -194,7 +194,7 @@ Menu items can act as checkboxes.
194
194
<Demodemo="CheckboxItems" />
195
195
196
196
<Callouttype="warning">
197
-
If you rely on the CheckboxItem to manage its state (e.g., you use the `defaultChecked` and `onCheckedChange` props), ensure that the item is not unmounted when its parent menu is closed.
197
+
If you rely on the CheckboxItem to manage its state (for example, you use the `defaultChecked` and `onCheckedChange` props), ensure that the item is not unmounted when its parent menu is closed.
198
198
Unmounting the component resets its state.
199
199
200
200
To do this, add the `keepMounted` prop to the `Menu.Positioner` the checkbox item is in (and all parent positioners, in the case of a nested menu):
0 commit comments