Merge pull request #4193 from MarcoZehe/FixExtraneousTabStopOnTree

Remove extraneous tab stop from room tree view.
This commit is contained in:
Travis Ralston 2020-03-10 09:59:44 -06:00 committed by GitHub
commit a808b05026
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -778,6 +778,9 @@ export default createReactClass({
className="mx_RoomList"
role="tree"
aria-label={_t("Rooms")}
// Firefox sometimes makes this element focusable due to
// overflow:scroll;, so force it out of tab order.
tabindex="-1"
onMouseMove={this.onMouseMove}
onMouseLeave={this.onMouseLeave}
>