Skip to content

Commit

Permalink
fix(react-grid-demos): correct displaying custom selector in Edge (#2422
Browse files Browse the repository at this point in the history
)
  • Loading branch information
LazyLahtak committed Oct 10, 2019
1 parent 7efd72c commit 832586f
Showing 1 changed file with 7 additions and 1 deletion.
Expand Up @@ -43,6 +43,9 @@ const styles = theme => ({
inputRoot: {
width: '100%',
},
selectMenu: {
position: 'absolute !important',
},
});

const AddButton = ({ onExecute }) => (
Expand Down Expand Up @@ -121,11 +124,14 @@ const LookupEditCellBase = ({
<Select
value={value}
onChange={event => onValueChange(event.target.value)}
MenuProps={{
className: classes.selectMenu,
}}
input={(
<Input
classes={{ root: classes.inputRoot }}
/>
)}
)}
>
{availableColumnValues.map(item => (
<MenuItem key={item} value={item}>
Expand Down

0 comments on commit 832586f

Please sign in to comment.