restore shortcuts for menus
This commit is contained in:
parent
4e28cb0347
commit
f72e075472
@ -270,7 +270,8 @@ class ActionsDropdown extends PureComponent {
|
||||
}
|
||||
|
||||
return (
|
||||
<BBBMenu
|
||||
<BBBMenu
|
||||
accessKey={OPEN_ACTIONS_AK}
|
||||
trigger={
|
||||
<Button
|
||||
className={isDropdownOpen ? styles.hideDropdownButton : ''}
|
||||
|
@ -88,11 +88,11 @@ class BBBMenu extends React.Component {
|
||||
const actionsItems = this.makeMenuItems();
|
||||
|
||||
const menuClasses = [styles.menu];
|
||||
if (wide) menuClasses.push(styles.wide)
|
||||
if (wide) menuClasses.push(styles.wide);
|
||||
|
||||
return (
|
||||
<div>
|
||||
<div onClick={this.handleClick}>{trigger}</div>
|
||||
<div onClick={this.handleClick} accessKey={this.props?.accessKey}>{trigger}</div>
|
||||
<Menu
|
||||
{...opts}
|
||||
anchorEl={anchorEl}
|
||||
@ -148,6 +148,7 @@ BBBMenu.propTypes = {
|
||||
iconRight: PropTypes.string,
|
||||
divider: PropTypes.bool,
|
||||
dividerTop: PropTypes.bool,
|
||||
accessKey: PropTypes.string,
|
||||
})).isRequired,
|
||||
|
||||
onCloseCallback: PropTypes.func,
|
||||
|
@ -302,6 +302,7 @@ class SettingsDropdown extends PureComponent {
|
||||
return (
|
||||
|
||||
<BBBMenu
|
||||
accessKey={OPEN_OPTIONS_AK}
|
||||
trigger={
|
||||
<Button
|
||||
label={intl.formatMessage(intlMessages.optionsLabel)}
|
||||
|
Loading…
Reference in New Issue
Block a user