Our pure JavaScript Scheduler component


Post by Acceless »

We have moved from previous version to 4.1 and in the new version .init method was excluded, which is ok, after updating the code and removing the method - all context menus don't work. I can open the menu by using right click, but right after hover over the menu - it just disappears and never shows again. I experienced this in the previous version, but it was resolved by using .init method with the parent node of the node in which Scheduler component will be rendered.


Post by mats »

How can we reproduce this? Can you please provide a simple test case?


Post by Acceless »

Hi Mats, thank you for the response. You can use your example for Salesforce LWC:

In this variant all works fine

<template>
	<div class="container" lwc:dom="manual"></div>
</template>

But if I add any other node as a parent it breaks

<template>
	<div>
		<div class="container" lwc:dom="manual"></div>
	</div>
</template>

In previous version there was a similar issue, but it was resolved using .init method with a param of the direct parent node of the Scheduler container. In this version it's not possible.
I have a component with a complex markup where I cannot use only one div.


Post by Maxim Gorkovsky »

Reproduced, ticket opened here: https://github.com/bryntum/support/issues/2659 Thank you for report.


Post by Maxim Gorkovsky »

There is a patch in the ticket which should help you to work around this issue


Post Reply