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

tootip.show() not working for same index right after the tooltip.hide() is called #1753

Closed
netil opened this issue Nov 3, 2020 · 0 comments
Assignees

Comments

@netil
Copy link
Member

netil commented Nov 3, 2020

Description

When .tooltip.show() is called, and then calling .tooltip.hide().tooltip.show() again, tooltip isn't showing.

Steps to check or reproduce

const chart = bb.generate(...);

chart.tooltip.show({index: 5});
chart.tooltip.hide();

// recalling same index, tooltip isn't showing
chart.tooltip.show({index: 5});
@netil netil added the bug label Nov 3, 2020
@netil netil self-assigned this Nov 3, 2020
netil added a commit to netil/billboard.js that referenced this issue Nov 3, 2020
- When call tooltip.hide(), dispatch 'mouseend' or 'touchend' event to
  remove possible pending event from tooltip.show()
- update handling linked charts instances by filtering

Ref naver#1753
@netil netil closed this as completed in ce8210c Nov 3, 2020
netil pushed a commit that referenced this issue Nov 11, 2020
## [2.1.4](2.1.3...2.1.4) (2020-11-11)

### Bug Fixes

* **api:** fix tooltip showing when lesser data loaded ([74320cf](74320cf)), closes [#1761](#1761)
* **event:** fix referencing event element ([38568c1](38568c1)), closes [#1752](#1752)
* **gauge:** fix to be consistent max label value ([0c2006f](0c2006f)), closes [#1759](#1759)
* **radar:** fix labels showing on esm usage ([d56ff52](d56ff52)), closes [#1765](#1765)
* **shape:** shape not showing on ie11 ([d1366d1](d1366d1)), closes [#1758](#1758)
* **tooltip:** fix to reset pending events from .show() ([ce8210c](ce8210c)), closes [#1753](#1753)
* **zoom:** fix throwing TypeError during zoom  ([f2787fa](f2787fa)), closes [#1760](#1760)
@netil netil added the released label Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant