Select: Portal menu by default (#48176)

* Remove menuShouldPortal from all <Select /> components

* fix unit tests

* leave menuShouldPortal as an escape hatch

* Fix import order
This commit is contained in:
Ashley Harrison
2022-05-04 15:12:59 +01:00
committed by GitHub
parent 2738d1c557
commit 06d3c27bc1
179 changed files with 67 additions and 372 deletions

View File

@@ -39,7 +39,6 @@ export const RuleSettingsArray: React.FC<Props> = ({ onChange, value, ruleType,
<>
<Select
placeholder="Select an index"
menuShouldPortal={true}
options={indexArr}
value={index}
onChange={(index) => {

View File

@@ -15,7 +15,6 @@ export const RuleSettingsEditor: React.FC<Props> = ({ onChange, value, ruleType,
return (
<>
<Select
menuShouldPortal={true}
key={ruleType}
options={entitiesInfo[ruleType]}
placeholder="Select an option"