-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
Tooltip link in Flowchart docs not working #682
Comments
I'm having the same issue. The message I see in my console is: Uncaught TypeError: window[e] is not a function That's happened on several different flowcharts I've tried. Here's an example of one that demonstrates the problem: |
So currently, the tooltip is displaying but at the very bottom of the page even if it's not within the window size. Additionally, one can define the
This doesn't seem ideal so I'll dig into it and see if the current behavior is the result of a bug and if not, I'll see what I can do to make the callback feature more intuitive. UPDATE: Ok, it seems maybe this is due to not importing |
Thanks @tarnelope, it'd be a nice to have for sure if the tooltips were working again. |
@larryq Yea! For now, they seem to work but require additional styling steps which I documented here: mermaidjs/mermaid-gitbook#25 |
i download the package from npm, but i have the same error.+Uncaught TypeError: window[e] is not a function |
Is there a way to have ToolTip when mouse is hovering without any action when clicking? UpdateJust do:
If there is no defined callback only a Tooltip will be shown. |
I've found that using the unminified version located here results in expected tooltips and clicking behavior. |
Possibly related to #901? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. If you are still interested in this issue and it is still relevant you can comment to revive it. |
This issue has been been automatically closed due to a lack of activity. This is done to maintain a clean list of issues that the community is interested in developing. |
Given I'm on this page:
https://mermaidjs.github.io/flowchart.html#interaction
...and I've scrolled down to the Interaction section,
When I click on the "A" box in the example diagram,
Then I expect to see some sort of tooltip text appear, but I don't see any.
Looks like something isn't working to me. Or perhaps more javascript code is required to make some tooltip text appear? Or maybe it used to work and was accidentally broken is a prior release?
Thanks for any help.
Screenshot:
The text was updated successfully, but these errors were encountered: