Merge pull request #2531 from matrix-org/bwindels/fixphonedropdown

fix dropdown style when input is shown
pull/21833/head
Bruno Windels 2019-01-30 11:45:02 +00:00 committed by GitHub
commit 3cfd851522
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -310,7 +310,7 @@ export default class Dropdown extends React.Component {
// Note the menu sits inside the AccessibleButton div so it's anchored // Note the menu sits inside the AccessibleButton div so it's anchored
// to the input, but overflows below it. The root contains both. // to the input, but overflows below it. The root contains both.
return <div className={classnames(dropdownClasses)} ref={this._collectRoot}> return <div className={classnames(dropdownClasses)} ref={this._collectRoot}>
<AccessibleButton className="mx_Dropdown_input" onClick={this._onInputClick}> <AccessibleButton className="mx_Dropdown_input mx_no_textinput" onClick={this._onInputClick}>
{ currentValue } { currentValue }
<span className="mx_Dropdown_arrow"></span> <span className="mx_Dropdown_arrow"></span>
{ menu } { menu }