Commit fa15096
fix(material/sidenav): removes -1 tabindex from sidenav (#31155)
* fix(material/sidenav): removes -1 tabindex from sidenav
Updates Angular Components SideNav component so that when
the mode is not equalt to side the tabIndex value is -1.
Otherwise provide a null value.
Fixes b/286459024
* refactor(material/sidenav): updates syntax
Updates previous fix to use proper syntax to calculate which
mode that the sidenav is set to.
* refactor(material/sidenav): adds comments to explain reason for change
Updates previous changes to add the reasoning and reference for the
removal of the -1 for side mode sidenavs.
(cherry picked from commit 08a3c04)1 parent 7047616 commit fa15096
File tree
2 files changed
+6
-2
lines changed2 files changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
168 | | - | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
169 | 171 | | |
170 | 172 | | |
171 | 173 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
51 | 53 | | |
52 | 54 | | |
53 | 55 | | |
| |||
0 commit comments