From 98a8511d6fd442c208f198ffa590c81da31d675c Mon Sep 17 00:00:00 2001 From: Mikaela Grundin <9350337+zatine@users.noreply.github.com> Date: Fri, 13 Mar 2020 16:46:53 +0100 Subject: [PATCH 1/3] Add ListboxComponent limitation entry Adding a ListboxComponent limitation entry for the Autocomplete component as discussed in this issue: https://github.com/mui-org/material-ui/issues/18766 --- docs/src/pages/components/autocomplete/autocomplete.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/src/pages/components/autocomplete/autocomplete.md b/docs/src/pages/components/autocomplete/autocomplete.md index b348c0b9c80a95..49d5120a044000 100644 --- a/docs/src/pages/components/autocomplete/autocomplete.md +++ b/docs/src/pages/components/autocomplete/autocomplete.md @@ -220,6 +220,12 @@ To fully take advantage of type inference, you need to set the `multiple` prop t See [this discussion](https://github.com/mui-org/material-ui/pull/18854#discussion_r364215153) for more details. TypeScript might solve this bug in the future. +### ListboxComponent + +If you provide a custom `ListboxComponent` prop, you need to make sure that the intended scroll container has the +`role` attribute set to `listbox`. This ensures the correct behavior of the scroll, for example when using the +keyboard to navigate. + ## Accessibility (WAI-ARIA: https://www.w3.org/TR/wai-aria-practices/#combobox) From c192deb47d621a20a8a265fb104c83050718beeb Mon Sep 17 00:00:00 2001 From: Mikaela Grundin <9350337+zatine@users.noreply.github.com> Date: Fri, 13 Mar 2020 16:52:35 +0100 Subject: [PATCH 2/3] removed redundant linebreaks --- docs/src/pages/components/autocomplete/autocomplete.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/src/pages/components/autocomplete/autocomplete.md b/docs/src/pages/components/autocomplete/autocomplete.md index 49d5120a044000..038e98945a3872 100644 --- a/docs/src/pages/components/autocomplete/autocomplete.md +++ b/docs/src/pages/components/autocomplete/autocomplete.md @@ -222,9 +222,7 @@ TypeScript might solve this bug in the future. ### ListboxComponent -If you provide a custom `ListboxComponent` prop, you need to make sure that the intended scroll container has the -`role` attribute set to `listbox`. This ensures the correct behavior of the scroll, for example when using the -keyboard to navigate. +If you provide a custom `ListboxComponent` prop, you need to make sure that the intended scroll container has the `role` attribute set to `listbox`. This ensures the correct behavior of the scroll, for example when using the keyboard to navigate. ## Accessibility From 87061381708f89597a455e439d3c6234fdc18498 Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Fri, 13 Mar 2020 22:15:17 +0100 Subject: [PATCH 3/3] rerun ci