Our pure JavaScript Scheduler component


Post by striker »

That top gif is just extremely hard to see. Lots of extremely fast movement and flickering making it impossible to see what is happening.

Top gif from 4.3.5 is from working version. Watch from 4.3.8, you can see that tooltip is sometime freezing/stuck and tooltip position is changing from top to bottom and again top


Post by Animal »

OK, the change has been in for 7 months.

When aligning, a tooltip allows itself to be shrunk down to 300 pixels height before it flips sides.

To fix this you should be able to configure the tooltip of the eventDrag feature like this, just like all other tooltips owned by Features:

features : {
    eventDrag : {
        tooltip : {
            align : {
                minHeight : null
            }
        }
    }
}

But this scheme is not adhered to in this feature. We will fix this: https://github.com/bryntum/support/issues/4167

So you will have to access the tooltip dynamically by adding a listener to your Scheduler:

listeners : {
        eventDragStart() {
          // @ts-ignore
          schedulerInstance.features.eventDrag.tip.align.minHeight = schedulerInstance.features.eventDrag.tip.lastAlignSpec.minHeight = null;
        }
      }

Post by Animal »

OK, I have fixed the ticket so that the tip config of the eventDrag feature can change how the tooltip works, so you would do

            features : {
                eventDrag : {
                    tip : {
                        align : {
                            // We don't want the tip to shrink in height to fit in the Scheduler
                            minHeight : null
                        }
                    }
                }
            },

Post by striker »

Thanks! We will test it in few hours.
What about tooltip which is not showed next time while you are doing D&D?
Yo can watch it on gif.

Tooltip is showed only once, but next time is nothing visible.


Post by alex.l »

Tooltip is showed only once, but next time is nothing visible.

This is also fixed in 4.3.8
Please check that and let us know if you have any problems left.

All the best,
Alex


Post by striker »

alex.l wrote: Mon Feb 14, 2022 1:07 pm

Tooltip is showed only once, but next time is nothing visible.

This is also fixed in 4.3.8
Please check that and let us know if you have any problems left.

It can't be fixed. Gif I showed you in previous posts is from 4.3.8 version - where this bug is occuring, so this is the reason I'm asking.
You can reproduce it via test case I prepared in this topic.


Post by Animal »

The gif you posted just shows the minHeight issue which is fixed. Here is your test case running locally. The tooltip works:

eventdragtip.mp4
(732.11 KiB) Downloaded 64 times

Post by striker »

On that gif you can see the problem:

438.gif
438.gif (3.96 MiB) Viewed 827 times

So it's strange why now is working :D

But I updated schedulerpro version in our project from 4.3.5 to 4.3.8 with hot fix you wrote before and all is working!


Post by mats »

Great to hear, no issues open now then?


Post by striker »

From this topic - nope. Thank you very much for helping!


Post Reply