search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

React Scheduler > How to make shadow of event while moving respects the event height, despite margin top of resource

Asked by Andy
23 hours ago.

I set a `marginTop` value for the resource row, which pushes down the event bars like so.

What is the correct approach to make the shadow fits the shape of the event (ie: same as resizing shadow), instead of the resource row’s height? Noting the events can have varying heights.

I tried this in `onEventMoving` but it doesn’t seem to work.

 args.html = `
      <div style="
        height:${eventHeight}px;
        ${(args.e.text())}
      </div>
    `;

Thank you.

No reply yet.
New Reply
This reply is
Attachments:
or drop files here
Your name (optional):