Skip to content
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

fix ToolTip alignmentOffset #308

Merged
merged 3 commits into from
Jun 7, 2016
Merged

fix ToolTip alignmentOffset #308

merged 3 commits into from
Jun 7, 2016

Conversation

sodiumjoe
Copy link
Contributor

@sodiumjoe sodiumjoe commented Jun 6, 2016

fixes #306

PR Checklist

  • PR has one of the semver- labels
  • Two core team engineer approvals

Not sure why the desctucturing default assignment isn't working, but
this fixes it. Will revisit.

Not sure why the desctucturing default assignment isn't working, but
this fixes it. Will revisit.
@@ -354,6 +355,8 @@ const ContextMenu = createClass({
const flyoutElement = _.first(findTypes(this.props, ContextMenu.FlyOut));
const flyProps = _.get(flyoutElement, 'props', {});

if (_.isNaN(this.getFlyoutPosition().top)) { window.foo = true; }
Copy link
Contributor

Choose a reason for hiding this comment

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

what does this do?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

whoops, that was for debugging

@sodiumjoe sodiumjoe merged commit ba3dbd9 into master Jun 7, 2016
@jondlm jondlm deleted the 306-broken-tooltips branch June 8, 2016 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ToolTips are busted
3 participants