bryntum / support

An issues-only repository for the Bryntum project management component suite which includes powerful Grid, Scheduler, Calendar, Kanban Task Board and Gantt chart components all built in pure JS / CSS / TypeScript
https://www.bryntum.com
53 stars 6 forks source link

Bottom scrollbars does not sync while moving Splitter #9970

Open ghulamghousdev opened 3 weeks ago

ghulamghousdev commented 3 weeks ago

Forum post

Hi, We noticed that if you set the columns on the scheduler in the ngAfterViewInit instead of passing it to the binding that the splitter in the vertical scrollbars does not move anymore when dragging the horizontal splitter. Is this a bug?

You can reproduce this issue in the angular basic example as follows: remove the following from app.component.html:

 [columns] = "schedulerProps.columns" 

add the following in the ngAfterViewInit() of app.component.ts:

        if (this.schedulerProps.columns) {
            this.scheduler.columns = this.schedulerProps.columns;
        }

I added some extra columns in app.config.ts:

    columns: [
        { text: "Name", field: "name", width: 130 },
        { text: "Test", field: "name", width: 130 },
        { text: "Test2", field: "name", width: 130 },
    ],

start the app and resize the browser smaller so the vertical scrollbars at the bottom appear and drag the splitter... you will notice the splitter part in the vertical scrollbars on the bottom do not move. (it pops into place if you e.g. resize a column)