Premium support for our pure JavaScript UI components


Post by jk@datapult.dk »

Hi all,

Could you have a look at this? The eventEditor is not showing in full-screen:
https://www.dropbox.com/s/03jxf096r9pcxgd/Screen%20Recording%202023-03-21%20at%2014.55.40.mov?dl=0

The FullScreen mode is implemented in tbar like this:

{
        ref: 'fullscreenButton',
        id: 'fullscreen-button',
        type: "button",
        tooltip: "Fullscreen",
        icon: 'b-icon-fullscreen',
        ignoreLearn: true,
        onClick() {
            if (Fullscreen.enabled) {
                const element = document.getElementById("schedule-calendar")
                if (element === null) {
                    throw new Error("You renamed ID of the scheduler component")
                }
                if (!Fullscreen.isFullscreen) {
                    Fullscreen.request(element);
                } else {
                    Fullscreen.exit();
                }
            }
        }
    },

REPLICATING THE ISSUE
Download the zip file.

Since we do need a backend to server a few things, it is a multi-step setup.

In the project root:

python3 server.py

In another terminal window, do this to get an interactive session with npm 16:

docker run -it --rm -p 3000:3000 -v $PWD:/home/node/app node:16-buster /bin/bash

Inside the container do:

cd /home/node/app/ && npm install && npm run dev

Once done, you can now open this in your browser: http://localhost:3030/public/index.html

Attachments
bryntum-demo-main.zip
(3.18 MiB) Downloaded 18 times

Post by marcio »

Hey jk,

Thanks for the detailed report with example, I was able to reproduce that issue and created a ticket to check/fix that - https://github.com/bryntum/support/issues/6427

Best regards,
Márcio


Post by marcio »

Hey jk,

As you'll see in the ticket, there is a function for Scheduler to properly change to fullscreen with the right behavior - https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#function-requestFullscreen

Best regards,
Márcio


Post by jk@datapult.dk »

Sorry, Marcio, but it does not work in a partnered scheduler setup. See this: https://www.dropbox.com/s/2dfglj8y34850pm/Screen%20Recording%202023-03-21%20at%2017.56.39.mov?dl=0


Post by mats »

Right, for a partner setup we'll need to think of something else. Opened this ticket to look into it. https://github.com/bryntum/support/issues/6428


Post Reply