Premium support for our pure JavaScript UI components


Post by thamismedina »

Hello,

i have a tbar with some btns and they all work fine, but when i try to project.load() for some reason all the btns from the right side of the tbar converge in a menu btn, i want to prevent this behavier, since i dont want the btns to be hide in this menu tbn.

Attachments
how my btns are
how my btns are
Captura de tela de 2025-03-11 14-54-58.png (28.74 KiB) Viewed 162 times
the behavier i want to prevent
the behavier i want to prevent
Captura de tela de 2025-03-11 14-55-33.png (28 KiB) Viewed 162 times

Post by mats »

How can we reproduce this? Can you please share a test case?


Post by thamismedina »

Well, its a basic project with some btn at the tbar, well i mannage to understand how it was happening, well if i use mask to simulate a loading in the scheduler but for example for about 1500ms the btns gets all compressed into this menu btn of the image, but if i let the mask only running for about 1000ms this does not happen, the btns stay as they are, the mask im mentionning is this one

                   Mask.mask({
                      target: scheduler.element,
                      text: "Carregando dados",
                      mode: "dark-blur",
                    });
                    setTimeout(() => {
                      Mask.unmask(scheduler.element);
                    }, 1000);

Post by tasnim »

Hi,

Sorry, we're still not able to reproduce it. Could you please provide a runnable test case so we can check what's wrong and debug it for you?

Best regards,
Tasnim

How to ask for help? Please read our Support Policy


Post by thamismedina »

Hello,

I decided to remove the setimeout and the behavior seems to stop, so will move on without the settimeout, i think the problem was that i had too many btns in the tbar and when i load the project, the btns all converge in the menu btn from the image, and if i change anything the btns were showing back to their places, but for me, removing the settimeout is being enough, if the behavier come back i will provide a test case, thanks for the fast response


Post by marcio »

Thanks for the feedback thamismedina,

Please don't hesitate to contact us on forums if you need any assistance.

Best regards,
Márcio

How to ask for help? Please read our Support Policy


Post Reply