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

[ANGULAR] Enabling LockRows feature on two partnered puts the splitter at the top #9090

Open taauntik opened 2 months ago

taauntik commented 2 months ago

Forum post

Reproducible with master\Scheduler\examples\frameworks\angular\drag-between-schedulers

To reproduce first enable lockRows feature to both scheduler and add a splitter to between them

    <bryntum-scheduler
        #scheduler1
        [barMargin] = "scheduler1Props.barMargin!"
        [columns] = "scheduler1Props.columns!"
        [endDate] = "scheduler1Props.endDate!"
        [events] = "scheduler1Props.events!"
        [resources] = "scheduler1Props.resources!"
        [startDate] = "scheduler1Props.startDate!"
        [viewPreset] = "scheduler1Props.viewPreset!"
        [eventDragFeature] = "scheduler1Props.eventDragFeature!"
        [sortFeature] = "scheduler1Props.sortFeature!"
        [stripeFeature] = "scheduler1Props.stripeFeature!"
        [resourceImagePath] = "scheduler1Props.resourceImagePath!"
        [lockRowsFeature] = "true"
    ></bryntum-scheduler>

    <bryntum-splitter></bryntum-splitter>

    <bryntum-scheduler
        #scheduler2
        [barMargin] = "scheduler2Props.barMargin!"
        [columns] = "scheduler2Props.columns!"
        [events] = "scheduler2Props.events!"
        [resources] = "scheduler2Props.resources!"
        [eventDragFeature] = "scheduler2Props.eventDragFeature!"
        [sortFeature] = "scheduler2Props.sortFeature!"
        [stripeFeature] = "scheduler2Props.stripeFeature!"
        [resourceImagePath] = "scheduler2Props.resourceImagePath!"
        [lockRowsFeature] = "true"
    ></bryntum-scheduler>

And now you'll see in the dom the splitter is at the top image

taauntik commented 2 months ago

Note regarding this lockRows issue here https://forum.bryntum.com/viewtopic.php?p=145475#p145475