{this.renderUserAvatar()}
@@ -595,13 +599,14 @@ class UserDropdown extends PureComponent {
keepOpen={isActionsOpen || showNestedOptions}
onShow={this.onActionsShow}
onHide={this.onActionsHide}
- className={userItemContentsStyle}
+ className={userItemContentsStyle}
autoFocus={false}
aria-haspopup="true"
aria-live="assertive"
aria-relevant="additions"
placement={placement}
- getContent={(dropdownContent) => this.dropdownContent = dropdownContent}
+ getContent={dropdownContent => this.dropdownContent = dropdownContent}
+ tethered
>
{contents}
diff --git a/bigbluebutton-html5/imports/ui/components/user-list/user-list-content/user-participants/user-list-item/user-dropdown/styles.scss b/bigbluebutton-html5/imports/ui/components/user-list/user-list-content/user-participants/user-list-item/user-dropdown/styles.scss
index bd3bf9301f..e54fd0514d 100755
--- a/bigbluebutton-html5/imports/ui/components/user-list/user-list-content/user-participants/user-list-item/user-dropdown/styles.scss
+++ b/bigbluebutton-html5/imports/ui/components/user-list/user-list-content/user-participants/user-list-item/user-dropdown/styles.scss
@@ -124,6 +124,12 @@
@extend %text-elipsis;
cursor: default;
min-width: 10vw;
+ @include mq($medium-only) {
+ min-width: 13vw;
+ }
+ @include mq($large-up) {
+ min-width: 8vw;
+ }
max-width: 100%;
overflow: visible;
}
diff --git a/bigbluebutton-html5/imports/ui/components/user-list/user-list-content/user-participants/user-list-item/user-dropdown/theteredDropdown/component.jsx b/bigbluebutton-html5/imports/ui/components/user-list/user-list-content/user-participants/user-list-item/user-dropdown/theteredDropdown/component.jsx
index aa3a105ad9..8de17fb59e 100644
--- a/bigbluebutton-html5/imports/ui/components/user-list/user-list-content/user-participants/user-list-item/user-dropdown/theteredDropdown/component.jsx
+++ b/bigbluebutton-html5/imports/ui/components/user-list/user-list-content/user-participants/user-list-item/user-dropdown/theteredDropdown/component.jsx
@@ -101,7 +101,7 @@ class Dropdown extends Component {
if (!isOpen && prevState.isOpen) { onHide(); }
- if (prevProps.keepOpen && !keepOpen) onHide();
+ if (prevProps.keepOpen && !keepOpen) { onHide(); }
}
handleShow() {
@@ -192,10 +192,11 @@ class Dropdown extends Component {
});
content = React.cloneElement(content, {
- ref: (ref) => {
+ ref: (ref) => {
getContent(ref);
this.content = ref;
},
+ keepOpen,
'aria-expanded': isOpen,
dropdownIsOpen: isOpen,
dropdownToggle: this.handleToggle,
@@ -236,7 +237,7 @@ class Dropdown extends Component {
}
targetAttachment={
isMobile ? ''
- : targetAttachments[placements]
+ : targetAttachments[placements]
}
constraints={[
@@ -245,10 +246,10 @@ class Dropdown extends Component {
},
]}
- renderTarget={ref => (
-
- {trigger}
- )}
+ renderTarget={ref => (
+
+ {trigger}
+ )}
renderElement={ref => (