MIT-CAVE / cave_static

A react based static web app to be used as a UI and data consumer for the CAVE app.
Apache License 2.0
0 stars 1 forks source link

Auto-display dropdown on chart grouping selection #516

Closed katherineyli closed 2 months ago

katherineyli commented 2 months ago

When a chart grouping is clicked, it should automatically display the dropdown with the selections for that grouping.

katherineyli commented 2 months ago

@connor-makowski As of now, both the main dropdown (containing all groups) and each group's individual dropdowns appear when selecting on an individual group. I was wondering if it would be possible when a group is clicked on to just open the individual dropdown for that group rather than the main dropdown for all groups as well, but this seems difficult as the individual dropdowns are child components of the main dropdown, so they can't be rendered without the parent component. What are your thoughts on this, and on the functionality of the current component? Thanks!