mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
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:
@@ -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) => {
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user