Skip to content

Conversation

@ryanseddon
Copy link
Contributor

  • BREAKING CHANGE?

Description

Passing in the tooltip ref was completely pointless and made it hard to work with.

Detail

I believe I was trying to work around the bug fixed here rather than actually needing the ref to the tooltip for any useful reason.

Even though this removes a prop it's not actually a breaking change since you can still pass the ref and it'll work fine, it just doesn't use the ref passed.

I think this react PR merged in the latest react (beta/alpha?) might fix the underlying issue and not require the isMount tracking.

facebook/react#15650

Checklist

  • 🌐 Storybook demo is up-to-date (yarn start)
  • analyzed via axe and evaluated using VoiceOver
  • 💂‍♂️ includes new unit tests
  • 📝 tested in Chrome, Firefox, Safari, Edge, and IE11

@ryanseddon ryanseddon requested a review from a team August 1, 2019 05:14
@ryanseddon ryanseddon merged commit 75c77bc into master Aug 2, 2019
@ryanseddon ryanseddon deleted the ryan/tooltip_simplification branch August 2, 2019 00:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants