* No-op implemented as a part of `Highlightable`. * @docs-private
()
| 202 | * @docs-private |
| 203 | */ |
| 204 | setActiveStyles() { |
| 205 | // If the listbox is using `aria-activedescendant` the option won't have focus so the |
| 206 | // browser won't scroll them into view automatically so we need to do it ourselves. |
| 207 | if (this.listbox.useActiveDescendant) { |
| 208 | this.element.scrollIntoView({block: 'nearest', inline: 'nearest'}); |
| 209 | } |
| 210 | } |
| 211 | |
| 212 | /** |
| 213 | * No-op implemented as a part of `Highlightable`. |
nothing calls this directly
no outgoing calls
no test coverage detected