[Autocomplete][v1] Requesting access to options popover visible state
Feature request summary
I'm hoping we can add something to the <Autocomplete /> component's API which allows us to know whether or not the options <Popover /> is visible.
Rationale
We have an <Autocomplete /> used in a rather large form. We would like all fields in the form to submit the form if the enter key is pressed while they are focued. Except for when the options <Popover /> is active and being used.
Alteratively, I believe stopping event propogation from <ComboBox />'s handleEnter() method would also fix our problem – but perhaps that is too opinionated.
@maxariss Can you share the details about this form (either here or in Slack)? It sounds unusual. cc @dpersing
@ry5n @maxariss @dpersing any follow-up on this? Wondering if a conversation happened somewhere else and this can be closed or should be moved to the backlog so we can plan work for it?
I don’t recall having discussed this offline, and I don’t have any additional information.
We would like all fields in the form to submit the form if the enter key is pressed while they are focued. Except for when the options
is active and being used.
I wonder if this could be addressed by changing the implicitSubmit prop of the form component to be more flexible about specific fields, versus making a change to the autocomplete component?
Autocomplete is currently being reworked as a part of the AutoComplete component project. Once we address this problem in the reworked component, we’ll close this issue.
This issue has been inactive for 180 days and labeled with Icebox. It will be closed in 7 days if there is no further activity.