mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00: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)}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user