This repository was archived by the owner on Oct 22, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +3
-1
lines changed
src/components/structures Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ import { logger } from "matrix-js-sdk/src/logger";
32
32
import { throttle } from "lodash" ;
33
33
import { CryptoEvent } from "matrix-js-sdk/src/crypto" ;
34
34
35
- // focus-visible is a Polyfill for the :focus-visible CSS pseudo-attribute used by _AccessibleButton.scss
35
+ // focus-visible is a Polyfill for the :focus-visible CSS pseudo-attribute used by various components
36
36
import 'focus-visible' ;
37
37
// what-input helps improve keyboard accessibility
38
38
import 'what-input' ;
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ limitations under the License.
16
16
17
17
import React from 'react' ;
18
18
import { shallow , mount } from "enzyme" ;
19
+ import 'focus-visible' ; // to fix context menus
19
20
20
21
import {
21
22
ThreadFilterType ,
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ import { mount } from 'enzyme';
19
19
import { Room } from 'matrix-js-sdk/src/matrix' ;
20
20
import { mocked } from 'jest-mock' ;
21
21
import { act } from 'react-dom/test-utils' ;
22
+ import 'focus-visible' ; // to fix context menus
22
23
23
24
import SpaceContextMenu from '../../../../src/components/views/context_menus/SpaceContextMenu' ;
24
25
import MatrixClientContext from '../../../../src/contexts/MatrixClientContext' ;
You can’t perform that action at this time.
0 commit comments