1
0
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:
Jari Kolehmainen 2020-03-30 16:30:47 +03:00 committed by GitHub
parent 390ab9dccf
commit 96641307dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -86,6 +86,7 @@ export class NamespaceSelectFilter extends React.Component {
return (
<NamespaceSelect
placeholder={placeholder}
closeMenuOnSelect={false}
isOptionSelected={() => false}
controlShouldRenderValue={false}
onChange={({ value: namespace }: SelectOption) => toggleContext(namespace)}