Our pure JavaScript Scheduler component


Post by striker »

Hello.
I was happy for 4.1.3, because this bug: https://github.com/bryntum/support/issues/2789
seems to be fixed in 4.1.3 milestone.

But... I am using SchedulerPro 4.1.3 and this bug is still occurs.
I am importing SchedulerPro from @bryntum/gantt.

My project model:

    const project = new ProjectModel({
      resourcesData: <any>resources,
      tasksData: <any>tasks,
      assignmentsData: <any>assignments,
      dependenciesData: <any>dependencies
    });
voewissue.gif
voewissue.gif (1.13 MiB) Viewed 523 times

Using latest Google Chrome


Post by striker »

Hmm. I copied all data to new project as sandbox and it is working.
I need to investigate this task in dev tools. How Can I block TaskEditor to always visible? If I click on another window TaskEditor is closing.


Post by striker »

Ok... I found a solution.

I just added CSS and it seems to be working:

.b-schedulerpro-taskeditor {
  grid-template-rows: min-content !important;
  grid-template-columns: min-content !important;
  display: grid !important;
}

The problem is with flexbox. For some unknown reason width is calculating very strange.
But I think bug is still exist, because my CSS in app didn't affect to task editor.


Post by johan.isaksson »

Hi,

First a tip in Chrome DevTools. You do not need to block anything to keep task editor visible, Chrome has a setting to keep focus on the page when you access dev tools. It is called "Emulate a focused page" and you can find it on the "Rendering" tab (under "More tools").

Secondly, the issue was fixed by fixing the locales. Perhaps you are using an old locale?

Best regards,
Johan Isaksson

Post by striker »

I removed all not translated fields in my locale file.
After rebuild app it seems to be working without my CSS hotfix.
Thanks!


Post Reply