Skip to content

Conversation

@aduth
Copy link
Member

@aduth aduth commented Apr 24, 2017

Previously: #460 (comment)

This pull request seeks to change the behavior of the <Toolbar /> component's control.isActive from a function to plain boolean. Since it's currently never the case that we need to asynchronously determine the active value, there's no real need for it to be treated as a callback.

Testing instructions:

Verify that button active (selected) states behave as expected, between both the block controls (e.g. text alignment) and formatting controls (e.g. bold, italic, see #460).

Previously as function invoked immediately anyways
@aduth aduth added the Framework Issues related to broader framework topics, especially as it relates to javascript label Apr 24, 2017
Copy link
Contributor

@youknowriad youknowriad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@aduth aduth merged commit f58fea4 into master Apr 25, 2017
@aduth aduth deleted the update/toolbar-control-isactive-bool branch April 25, 2017 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Framework Issues related to broader framework topics, especially as it relates to javascript

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants