You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 14, 2025. It is now read-only.
An autocomplete/select list made up of a TextField and a Menu.
Expected Behaviour
When the user clicks the TextField, or starts typing, it should show the Menu, controlled by a boolean in the state called fieldListOpen.
If the user selects a menu option, the Menu should go away, and if they then click the TextField again it should reappear, as fieldListOpen will be set to true again.
Actual Behaviour
The menu appears the first time. I click an option, the Menu disappears and I can't make it reappear again.
I can confirm that the fieldListOpen state field is set to true:
The Menu element is on the page, but display is set to none:
If I set display to something else, the menu is there, but is a ghost:
What do I need to do to get my Menu to show up again?
The text was updated successfully, but these errors were encountered:
ndtreviv
changed the title
Menu disappears after item selection and never returns
Menu disappears after item selection and never returns despite open={true}
Jun 5, 2019
What I'm trying to achieve
An autocomplete/select list made up of a
TextField
and aMenu
.Expected Behaviour
When the user clicks the TextField, or starts typing, it should show the Menu, controlled by a boolean in the state called
fieldListOpen
.If the user selects a menu option, the Menu should go away, and if they then click the TextField again it should reappear, as
fieldListOpen
will be set totrue
again.Actual Behaviour
The menu appears the first time. I click an option, the Menu disappears and I can't make it reappear again.
I can confirm that the

fieldListOpen
state field is set totrue
:The Menu element is on the page, but

display
is set tonone
:If I set display to something else, the menu is there, but is a ghost:

Code from my
render
function:What do I need to do to get my Menu to show up again?
The text was updated successfully, but these errors were encountered: