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

HoverTooltip not showing on time ranges in calendar #11021

Open
marciogurka opened this issue Mar 28, 2025 · 1 comment
Open

HoverTooltip not showing on time ranges in calendar #11021

marciogurka opened this issue Mar 28, 2025 · 1 comment
Labels
bug Something isn't working forum Issues from forum OEM OEM customer

Comments

@marciogurka
Copy link

Forum post

User provided a demo with the issue - https://codepen.io/Elshad-Seyidmammadov/pen/KwKGzLW?editors=0010

"Hello,

it looks like HoverTooltip is not working on TimeRanges in the calendar as described in the documentation here: Calendar.feature.TimeRanges#config-hoverTooltip

In the following example we added

hoverTooltip: {
  html: 'Test Hello World'
}

to the timeRanges configuration but it does not seem to show up on any TimeRange related part in the UI, neither on the header or the gray striped background area. https://codepen.io/Elshad-Seyidmammadov/pen/KwKGzLW?editors=0010

Is that a bug?

What we would like to achieve is a custom tooltip when the user hovers over the gray striped area of a time range.
Can you give us a hint how to do this?"

@marciogurka marciogurka added bug Something isn't working forum Issues from forum OEM OEM customer labels Mar 28, 2025
@ExtAnimal
Copy link

ExtAnimal commented Mar 29, 2025

The @extends tag is incorrect. This feature does not extend the Scheduler's version because it works in a totally different way.

The APIs should converge though, so we need to decide whether we simply add the hoverTooltip config and apply that config object to a singleton tooltip instance. Or whether we add a more standard tooltip config, and fix up the Scheduler's version to use tooltip and deprecate its config.

That also leaves the tooltip showing gesture open for configuration. Adding "hover" is a large assumption. Those were made back in the Scheduler days (eg createOnDblClick). Perhaps that API change was not checked through the api-committee by the individual developer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working forum Issues from forum OEM OEM customer
Projects
None yet
Development

No branches or pull requests

2 participants