fix options button appearing in save chat

This commit is contained in:
Ramon Souza 2021-05-14 09:47:37 -03:00
parent e078e77e84
commit b27314b6e8
3 changed files with 9 additions and 1 deletions

View File

@ -278,6 +278,7 @@ class SettingsDropdown extends PureComponent {
const {
intl,
shortcuts: OPEN_OPTIONS_AK,
isDropdownOpen,
} = this.props;
const { isSettingOpen } = this.state;
@ -297,7 +298,7 @@ class SettingsDropdown extends PureComponent {
ghost
circle
hideLabel
className={styles.btn}
className={isDropdownOpen ? styles.hideDropdownButton : styles.btn}
// FIXME: Without onClick react proptypes keep warning
// even after the DropdownTrigger inject an onClick handler

View File

@ -23,5 +23,6 @@ export default withTracker((props) => {
noIOSFullscreen,
isMeteorConnected: Meteor.status().connected,
isBreakoutRoom: meetingIsBreakout(),
isDropdownOpen: Session.get('dropdownOpen'),
};
})(SettingsDropdownContainer);

View File

@ -123,3 +123,9 @@
.dropdown{
z-index: 5;
}
.hideDropdownButton {
@include mq($small-only) {
display: none;
}
}