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

Use the correct props to start the tooltip open #5610

Merged
merged 2 commits into from
Feb 18, 2019

Conversation

tmeasday
Copy link
Member

Issue: #5591

The startOpen prop is for the stateful WithTooltipState (ie. the one that can open and close).

To get an always open one, use tooltipOpen on the WithTooltip. I assume this is what you wanted @domyen?

PS It seems backwards to export the stateless one as the default @ndelangen. But I guess you are against default exports full stop...

@tmeasday tmeasday requested a review from domyen February 15, 2019 05:49
@tmeasday tmeasday added the maintenance User-facing maintenance tasks label Feb 15, 2019
@tmeasday tmeasday added this to the v5.0.0 milestone Feb 15, 2019
@domyen
Copy link
Member

domyen commented Feb 15, 2019

LGTM Thanks @tmeasday!

@tmeasday
Copy link
Member Author

Not sure what's happening with the build but I will merge and fix if it continues

@tmeasday tmeasday closed this Feb 18, 2019
@tmeasday tmeasday reopened this Feb 18, 2019
@codecov
Copy link

codecov bot commented Feb 18, 2019

Codecov Report

❗ No coverage uploaded for pull request base (next@9370ebd). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             next    #5610   +/-   ##
=======================================
  Coverage        ?   32.99%           
=======================================
  Files           ?      638           
  Lines           ?     9236           
  Branches        ?     1313           
=======================================
  Hits            ?     3047           
  Misses          ?     5550           
  Partials        ?      639
Impacted Files Coverage Δ
.../components/src/tooltip/TooltipLinkList.stories.js 100% <ø> (ø)
...b/components/src/tooltip/TooltipMessage.stories.js 100% <ø> (ø)
lib/components/src/tooltip/TooltipNote.stories.js 100% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9370ebd...485ed9a. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance User-facing maintenance tasks patch:done Patch/release PRs already cherry-picked to main/release branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants