support icon indicating copy to clipboard operation
support copied to clipboard

Events getting selected when `eventSelectionDisabled` is set to `true` and pan feature is enabled

Open ghulamghousdev opened this issue 9 months ago • 1 comments

Forum post

Actually I am not sure about my previous comment.

But can you try the below config in your React sample project.

Use this code to repro the issue:

import '../_shared/shared.js'; // not required, our example styling etc.
import Scheduler from '../../lib/Scheduler/view/Scheduler.js';
import Pan from '../../lib/Scheduler/feature/Pan.js';

const scheduler = new Scheduler({
    appendTo               : 'container',
    resources,
    events,
    startDate              : new Date(2017, 0, 1, 6),
    endDate                : new Date(2017, 0, 1, 20),
    viewPreset             : 'hourAndDay',
    rowHeight              : 50,
    barMargin              : 5,
    eventSelectionDisabled : true,
    features               : {
        pan                : true
    },
    columns : [{ text : 'Name', field : 'name', width : 130 }]
});

https://github.com/bryntum/support/assets/52177956/8287dabb-dbea-4865-b11a-29b64855045a

ghulamghousdev avatar May 22 '24 13:05 ghulamghousdev