Prevent double read of ARIA expanded

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2019-10-17 15:59:32 +01:00
parent 3400808f6e
commit 8b5d3b93f4

View file

@ -386,7 +386,6 @@ const RoomSubList = createReactClass({
className={subListClasses} className={subListClasses}
role="group" role="group"
aria-label={this.props.label} aria-label={this.props.label}
aria-expanded={!isCollapsed}
onKeyDown={this.onKeyDown} onKeyDown={this.onKeyDown}
> >
{ this._getHeaderJsx(isCollapsed) } { this._getHeaderJsx(isCollapsed) }