Implement roving tab index context based magic thing and demo on LeftPanel
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
23633abc10
commit
5252cf4c45
7 changed files with 242 additions and 25 deletions
|
@ -41,6 +41,7 @@ import ResizeHandle from '../elements/ResizeHandle';
|
|||
|
||||
import {Resizer} from '../../../resizer';
|
||||
import {Layout, Distributor} from '../../../resizer/distributors/roomsublist2';
|
||||
import {RovingTabIndexContextWrapper} from "../../../contexts/RovingTabIndexContext";
|
||||
const HIDE_CONFERENCE_CHANS = true;
|
||||
const STANDARD_TAGS_REGEX = /^(m\.(favourite|lowpriority|server_notice)|im\.vector\.fake\.(invite|recent|direct|archived))$/;
|
||||
const HOVER_MOVE_TIMEOUT = 1000;
|
||||
|
@ -788,7 +789,9 @@ module.exports = createReactClass({
|
|||
onMouseMove={this.onMouseMove}
|
||||
onMouseLeave={this.onMouseLeave}
|
||||
>
|
||||
{ subListComponents }
|
||||
<RovingTabIndexContextWrapper>
|
||||
{ subListComponents }
|
||||
</RovingTabIndexContextWrapper>
|
||||
</div>
|
||||
);
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue