Our pure JavaScript Scheduler component


Post by burnit »

Sorry for bringing up this again. Is there any news regarding this issue?


Post by marcio »

Hey André,

I downloaded your code and updated it to the latest version of our suite, but I didn't get the result of the screenshot that you shared. I'm sharing a video to demonstrate. Am I doing something not correctly to check?

Attachments
Bryntum Scheduler - Drag from grid demo (React) - 7 June 2023.mp4
(396.96 KiB) Downloaded 18 times

Best regards,
Márcio


Post by burnit »

Hi marcio,

yes, this is regarding Issue 1: My custom Tooltip won't be displayed on version 5.3.0 an later, 5.2.10 is working.
Please test it, if you install 5.2.10.

renderEvent({ eventRecord, element }) {
            console.log("renderEvent fired!")
            console.log(eventRecord.comments)
            eventRecord.meta.notesTooltip = new Tooltip({
              constrainTo: null,
              floating: false,
              positioned: true,
              scrollAction: 'realign',
              style: {
                zIndex: 10,
                'font-size': 'initial',
              },
              html: `<div>${eventRecord.comments.data
                .map((x, index) => {
                  return `<div style="font-size: 1.2rem; line-height: 1.4rem">${x.text}</div>
                ${index + 1 < eventRecord.comments.data.length ? `<hr class="solid">` : ``}`;
                })
                .join('')}</div>`,
              autoClose: false,
            });
          eventRecord.meta.notesTooltip.render(element);
          eventRecord.meta.notesTooltip.showBy(element);
        }})

You tried to reproduce Issue 2:
Content is not updating in DOM. Please watch the attached video and demo code.
But this can not reproduced regarding issue 1 on version 5.3.0 and later.
To reproduce issue 2 you have to install 5.2.10.


Post by joakim.l »

Hi

There is indeed an issue with renderEvent not triggering in the React version of Scheduler.
We will fix it: https://github.com/bryntum/support/issues/6982

Regards
Joakim


Post by burnit »

Good morning,

https://codepen.io/burnit/pen/WNYrPMP?editors=101
Does anyone have an information, how i can display the tooltip over the time axis?
Currently it is behind, as you can see in the demo.
zIndex is not working at this point.

Many thanks.


Post by alex.l »

Good morning,
Please open a new topic for this question!
Thank you!

All the best,
Alex


Post Reply