Our powerful JS Calendar component


Post by orthobridge »

We're having issues dragging and dropping events in resourceView Day mode.

When we drag+drop an event, it throws the following:

caught (in promise) TypeError: Cannot read properties of undefined (reading 'isOverflowPopup')

To recreate an example, add the following code to the demo found here:
https://bryntum.com/products/calendar/examples/resourceview/


            dayResources: {
                type: 'resource',
                title: 'Day',
                resourceWidth: '30em',
                dateFormat : 'dddd MMM DD, YYYY',

                view: {
                    type: 'dayview',
                    dayStartTime: 7,
                    dayEndTime: 21,
                    autoCreate: false,
                    allDayEvents: null,


                    tools: {
                        close: {
                            cls: 'b-fa b-fa-times',
                            tooltip: 'Remove chair',
                            handler() {
                                const
                                calendar = this.up('calendar'),
                                resourceFilter = calendar.widgetMap.resourceFilter,
                                resource = this.resource;

                                resourceFilter.selected.remove(resource);
                            }
                        }
                    }

                },

                meta: resource => resource.title
            },

Attachments
bryn-err.PNG
bryn-err.PNG (172.92 KiB) Viewed 152 times

Post by Animal »

This is a bug. We will fix it for the next release: https://github.com/bryntum/support/issues/6828


Post by orthobridge »

Thanks Animal,

Is there an ETA (a nightly build will suffice)


Post by alex.l »

Hi, nightly build will be available next day after the ticket got Resolved status.
Next release is planned in next week or so.

All the best,
Alex


Post Reply