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
{{ message }}
This repository was archived by the owner on Jan 14, 2025. It is now read-only.
fix(list): Only apply aria-orientation with role (#945)
BREAKING CHANGE:
'orientation` is now used instead of 'aria-orientation' to specify list orientation.
This allows smarter aria defaults that can be overridden if needed.
***infrastructure:** fix SSR support for webpack4 update ([#956](https://github.com/material-components/material-components-web-react/issues/956)) ([5d3a89d](https://github.com/material-components/material-components-web-react/commit/5d3a89d))
Copy file name to clipboardExpand all lines: packages/list/README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -293,7 +293,7 @@ class MyApp extends Component {
293
293
| radioList | Boolean | Set the list to act as a radio list |
294
294
| selectedIndex | Number | Array<Number> | Toggles the selected state of the list item at the given index. Behaves differently for checkboxList and radioList (see sections above for more detail). |
295
295
| handleSelect | Function(activatedItemIndex: Number, selected: Number | Array<Number>) => void | Callback for handling a list item selection event. `selected` will be an Array,Number> for checkbox lists. |
296
-
|aria-orientation |String | Indicates the list orientation |
296
+
| orientation |`'vertical'`\|`'horizontal'`| Indicates the list orientation (defaults to `'vertical'`).|
297
297
| tag | String | Customizes the list tag type (defaults to `'ul'`) |
0 commit comments