Premium support for our pure JavaScript UI components


Post by jonathanca97 »

Hi,

I just upgraded my Bryntum calendar from v5.2.2 to v5.3.1.
Everything seems to work fine, except for some behavior when hovering over an event. It appears that on v5.3.1, the event expands when hovering when a tooltip is enabled (without the eventTooltip, it doesn't has this behavior). Is there a way to disable this behavior, as our clients think this is annoying? I've attached a screen recording with the new behavior.

Attachments
Screen Recording 2023-03-20 at 10.54.42.mov
(7.15 MiB) Downloaded 46 times

Post by marcio »

Hey jonathanca97,

Currently is not possible to disable that behavior, but I created a ticket to add that configuration https://github.com/bryntum/support/issues/6410

Best regards,
Márcio


Post by jonathanca97 »

Hi Marcio,

Thank you for the quick response :) !
Do you have any idea when this would be fixed?


Post by marcio »

Hey,

No idea for now, as we'll have our dev team looking into it shortly, but you can follow the ticket in the GH to get the latest updates as soon as they happen.

Best regards,
Márcio


Post by jonathanca97 »

Hi Marcio

it's been a while now, any updates on this?


Post by Animal »

We could make it optional in the eventTooltip by adding a revealEventsInCluster setting which defaults to true so can be configured:

    updateActiveTarget(element, was) {
        super.updateActiveTarget(...arguments);
        was?.classList.remove('b-cal-event-reveal');

        // The activating event element is lifted to the top of the z-index stack while
        // it is the target of the tooltip.
        if (element?.classList.contains('b-cal-in-cluster') && this.revealEventsInCluster) {
            element.classList.add('b-cal-event-reveal');
        }
    }

That way you could achieve this effect when there are lots of events:

Screenshot 2023-05-15 at 12.07.30.png
Screenshot 2023-05-15 at 12.07.30.png (159.74 KiB) Viewed 579 times

Post by jonathanca97 »

Hi

Yes, this option would be perfect :) !

Kind regards
Jonathan


Post by Animal »

I’ve set a reminder to get to this before the next release.


Post by jonathanca97 »

Pefect thanks!


Post Reply