Skip to content

Commit

Permalink
ui: fix react-select menu position
Browse files Browse the repository at this point in the history
* closes cernanalysispreservation#1954

Signed-off-by: papadopan <[email protected]>
  • Loading branch information
papadopan committed Nov 20, 2020
1 parent c6ddf0b commit 41cff42
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,8 @@ class TextWidget extends Component {
defaultOptions={false}
value={{ label: this.props.value, value: this.props.value }}
loadOptions={debounce(this.updateSuggestions, 500)}
styles={{ menuPortal: base => ({ ...base, zIndex: 9999 }) }}
menuPortalTarget={document.body.getElementsByClassName("rjsf")[0]}
/>
</Box>
);
Expand Down

0 comments on commit 41cff42

Please sign in to comment.