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

Generic HTML element tooltips do not respect tooltip config options and only provide closure via tooltip click #348

Closed
techfg opened this issue Jan 23, 2021 · 0 comments · Fixed by #350
Labels

Comments

@techfg
Copy link
Collaborator

techfg commented Jan 23, 2021

Describe the bug
Currently, IM provides a way to display a tooltip on a generic HTML element but the closure of the tooltip is restricted to clicking on the tooltip and does not provide any other mechanism for automatic closure. Additionally, the tooltip does not respect other tooltip related configuration options (e.g. fadeDuration, tooltipClose, options.closeEvents, etc.).

To Reproduce
Steps to reproduce the behavior:

  1. Open tooltip example
  2. Hover over one of the Apply tooltip... elements
  3. Tooltip appears
  4. Move mouse away from element or click the element itself
  5. Tooltip does not close
  6. Change code to have fadeDuration: 5000
  7. Hover over one of the Apply tooltip... elements
  8. Tooltip does not fade
  9. Change code to have toolTipClose: []
  10. Hover over one of the Apply tooltip... elements
  11. Click the tooltip
  12. Tooltip closes

Expected behavior
IM should provide a way to enable automatic closure of tooltip on mouseout/click of element. Additionally, the automatic closure of the tooltip should respect the tooltip related configuration options.

Screenshots
N/A

Desktop (please complete the following information):
N/A

Smartphone (please complete the following information):
N/A

Additional context
N/A

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

Successfully merging a pull request may close this issue.

1 participant