Discuss anything related to web development but no technical support questions


Post by lxxrxns »

Hey there!

In scheduler, you can mouseOver an event on PC to show the tooltip, but also tap on it with your finger (on mobile) to show the tooltip.

Because calendar seems to work differently (it doesn't even have a 'showOn' parameter, it just works intuitively), I can choose 'hover' or 'click'.
'Hover' works as intended on PC: I mouseOver the event, and it shows the tooltip. I mouseOut and it hides the tooltip again. However, 'hover' doesn't show the tooltip on mobile when I tap the event (since 'hovering' isn't possible on mobile).

Is there any way I can have the tooltip behave the same on mobile as it behaves in scheduler?

Thanks!

Laurens


Post by marcio »

Hey Laurens,

As you'll see in the video attached of our tooltip demo, that you can try it here https://bryntum.com/products/scheduler/docs/api/Core/widget/Tooltip

The tooltip is triggered on mobile on long press action and not tap/click.

Attachments
Bryntum Scheduler 5.2.9 Live Demo - 3 February 2023.mp4
(89.72 KiB) Downloaded 6 times

Best regards,
Márcio


Post by lxxrxns »

I have the eventTooltip enabled with showOn: 'hover'. It works on PC, but on mobile it doesn't work. When I longpress the event on mobile, Chrome just selects the text on the event (even when I try to long press next to the text).

Screen_Recording_20230203_205154_Chrome.mp4
Doesn't work in calendar
(756.2 KiB) Downloaded 9 times
Screen_Recording_20230203_205218_Chrome.mp4
Works fine in scheduler
(962.16 KiB) Downloaded 9 times

Post by lxxrxns »

You might say: in Scheduler you have it set to show on "click", but this is not the case: on PC the tooltip shows when I hover, so this is the exact behaviour that I want:

Show tooltip on hover on PC, and show tooltip on tap on mobile.

It's possible in scheduler, how do I get it to work in calendar?

Also, setting the "showOn" to 'click' is not an option (this makes it work on mobile, but I want the hover effect on PC)


Post by marcio »

Hey, how did you configure your eventTooltip on Scheduler?? I tested in our demo page (where we have a hover tooltip enabled) and it didn't appear in the mobile on tap, could you please share how did you configure that on your Scheduler and your Calendar??

https://bryntum.com/products/scheduler/docs/api/Scheduler/feature/EventTooltip

Best regards,
Márcio


Post by lxxrxns »

Apparently this is something that changed in one of the later versions. I am on version 4.2, and in v4.2 you can "tap" an event on mobile (in Scheduler) to show the tooltip.


Post by marcio »

Thanks for the info Laurens,

I created a ticket to check what changed and fix that behavior on our side - https://github.com/bryntum/support/issues/6125

Best regards,
Márcio


Post Reply