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: change tooltip content when the opacity is 0 #124

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

bucketclan
Copy link

@bucketclan bucketclan commented Nov 12, 2022

Fixes #121

Without fix:

without.fix.mov

With fix in this PR:

demo.mov

We have a local state in the Modal component which has the content to be shown in the tooltip. So when we switch to the next step we don't end up showing the next steps title immediately, instead we wait for the opacity to be set to 0 and then set the next steps content. Also we store isFirstStep and isLastStep in state as well as they too are shown in the tooltip.

@bucketclan bucketclan changed the title Change tooltip content when the opacity is 0 fix: change tooltip content when the opacity is 0 Nov 12, 2022
@pke
Copy link

pke commented Nov 14, 2022

Great! Thanks for that! @xcarpentier worth merging?

@t0ma5h
Copy link

t0ma5h commented Mar 28, 2023

@xcarpentier can you merge please ? Would be nice to get this

@Thijmen
Copy link

Thijmen commented Jan 18, 2024

Can this be merged or is this repo not maintained anymore?

@cip123
Copy link

cip123 commented Jan 19, 2024

I would love to see this merged as well.

@Thijmen
Copy link

Thijmen commented Jan 20, 2024

In the end I ended up with creating a yarn module of this fork in my own project and included it in my app.

@uzaymacar
Copy link

@xcarpentier Can we merge this please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Text of next step already briefly visible when going to next step
10 participants