You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-10 09:22:25 +03:00
Hide browser a11y outline on context menus
Fixes https://github.com/vector-im/riot-web/issues/10926 Regressed by https://github.com/matrix-org/matrix-react-sdk/pull/3454/files Class introduced in https://github.com/matrix-org/matrix-react-sdk/pull/2994
This commit is contained in:
@@ -167,6 +167,7 @@ export default class ContextualMenu extends React.Component {
|
|||||||
|
|
||||||
const menuClasses = classNames({
|
const menuClasses = classNames({
|
||||||
'mx_ContextualMenu': true,
|
'mx_ContextualMenu': true,
|
||||||
|
'mx_HiddenFocusable': true, // hide browser outline
|
||||||
'mx_ContextualMenu_left': !hasChevron && position.left,
|
'mx_ContextualMenu_left': !hasChevron && position.left,
|
||||||
'mx_ContextualMenu_right': !hasChevron && position.right,
|
'mx_ContextualMenu_right': !hasChevron && position.right,
|
||||||
'mx_ContextualMenu_top': !hasChevron && position.top,
|
'mx_ContextualMenu_top': !hasChevron && position.top,
|
||||||
|
|||||||
Reference in New Issue
Block a user