we currently experienced a problem regarding the pdf export. Our customer tried to export a pdf via the bryntum pdf export function and it got stuck in "Exporting page 0/1". This can be reproduced in your "Export to PDF demo" with the settings as shown in the attachments.
This happens as soon as the browser scaling changes and it seems to only affects Chrome. I attached a video showing the process of reproducing this bug. It also doesn't print any errors in the console, it just never stops loading.
I found a solution, i have no more stuck on generatig pages.
Found that problem is where you are in default viewPreset that have _id porpery undefined.
Remove all presets that are undefined and it works!
let newPresets=[];
for (let i = 0 ; i < PresetManager.records.length - 1; i++) {
if (PresetManager.records[i]._id !== undefined) {
newPresets.push(PresetManager.records[i]);
}
}
const scheduler = new Scheduler({
presets : newPresets,
viewPreset : newPresets[0].id
});
Attachments
l
Screenshot 2024-06-06 171122.png (116.5 KiB) Viewed 566 times
Other than removing presets, is there any workaround where I can keep the preset and it still works.
For me it is not working when I change the orientation. When I moved from desktop screen to laptop screen.