mirror of
https://github.com/lensapp/lens.git
synced 2024-12-11 09:03:28 +03:00
Don't close namespace menu on select (#175)
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
parent
390ab9dccf
commit
96641307dd
@ -86,6 +86,7 @@ export class NamespaceSelectFilter extends React.Component {
|
|||||||
return (
|
return (
|
||||||
<NamespaceSelect
|
<NamespaceSelect
|
||||||
placeholder={placeholder}
|
placeholder={placeholder}
|
||||||
|
closeMenuOnSelect={false}
|
||||||
isOptionSelected={() => false}
|
isOptionSelected={() => false}
|
||||||
controlShouldRenderValue={false}
|
controlShouldRenderValue={false}
|
||||||
onChange={({ value: namespace }: SelectOption) => toggleContext(namespace)}
|
onChange={({ value: namespace }: SelectOption) => toggleContext(namespace)}
|
||||||
@ -102,4 +103,4 @@ export class NamespaceSelectFilter extends React.Component {
|
|||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user