коммит произвёл
GitHub
родитель
845ea2a984
Коммит
2e0e35dda9
@@ -105,14 +105,14 @@ export default class SuggestionList extends React.PureComponent<Props> {
|
||||
announceLabel() {
|
||||
const suggestionReadOut = this.props.ariaLiveRef?.current;
|
||||
if (suggestionReadOut) {
|
||||
suggestionReadOut.innerHTML = this.currentLabel as string;
|
||||
suggestionReadOut.textContent = this.currentLabel;
|
||||
}
|
||||
}
|
||||
|
||||
removeLabel() {
|
||||
const suggestionReadOut = this.props.ariaLiveRef?.current;
|
||||
if (suggestionReadOut) {
|
||||
suggestionReadOut.innerHTML = '';
|
||||
suggestionReadOut.textContent = '';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user