Skip to content

Reset button to close drop-down options when clicked #78

@ChrisCooper0

Description

@ChrisCooper0

I thought it would be a good addition if the Reset button not only resets the drop-down options but also closes them when clicked.

I played around with the various components but got a bit stuck and couldn't seem to get the state to be updated by the Reset button.

This might be easier/possible with Redux. @willgarrett64 or @piercy87, am I correct in understanding it's a state management library for these types of problems where components might need to share state ("open" in this instance)?

Happy for you to take a look or show me how you might go about using Redux in this instance.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions