Merge pull request #3474 from matrix-org/travis/less-blue

Hide browser a11y outline on context menus
This commit is contained in:
Travis Ralston 2019-09-24 12:49:20 -06:00 committed by GitHub
commit 590ff7719a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -167,6 +167,7 @@ export default class ContextualMenu extends React.Component {
const menuClasses = classNames({
'mx_ContextualMenu': true,
'mx_HiddenFocusable': true, // hide browser outline
'mx_ContextualMenu_left': !hasChevron && position.left,
'mx_ContextualMenu_right': !hasChevron && position.right,
'mx_ContextualMenu_top': !hasChevron && position.top,