You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "Ovilia (via GitHub)" <gi...@apache.org> on 2023/02/02 06:37:54 UTC
[GitHub] [echarts] Ovilia commented on a diff in pull request #18221: (tooltip): fix alwaysShowContent doesn't work after leaving the …
Ovilia commented on code in PR #18221:
URL: https://github.com/apache/echarts/pull/18221#discussion_r1094099541
##########
src/component/tooltip/TooltipHTMLContent.ts:
##########
@@ -336,7 +337,7 @@ class TooltipHTMLContent {
self._inContent = false;
if (self._enterable) {
- if (self._show) {
+ if (self._show && !self._alwaysShowContent) {
Review Comment:
I think it's more rust to check this in `hideLater` rather than `onmouseleave` because when other reasons triggers hiding, this should also be checked.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org