You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-20 16:22:28 +03:00
fix dropdown style when input is shown
This commit is contained in:
@@ -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 }
|
||||||
|
|||||||
Reference in New Issue
Block a user