-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable selecting variable values in time machine #12678
Conversation
eecef1f
to
dbda60b
Compare
@@ -37,7 +39,11 @@ class ToolbarFunction extends PureComponent<Props, State> { | |||
onMouseLeave={this.handleStopHover} | |||
data-testid={testID} | |||
> | |||
{this.tooltip} | |||
{isActive && ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const {expanded} = this.state | ||
|
||
if (expanded) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @alexpaxton @mavarius, could I get your opinion on this change? I removed the validation / dev assertion that a Dropdown
must have at least 1 child.
I needed to display a dropdown that loads its items asynchronously. So it may no have any items (either hasn't been loaded, or has been loaded but no results were returned).
dbda60b
to
1cb96b3
Compare
1cb96b3
to
fd0f49d
Compare
Closes #12122