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

Context menu does not close on click inside scheduler, when 'timeRangeSelectedHandling' is set

Asked by Daniel L.
5 days ago.

Hey there =)

an unexpected behaviour occured while I was developing. Is the following a bug? Is there a way to fix it?

Problem description:
Via rightclick (+ also optional DayPilot.Areas), I can open a context menu which contains different settings.
When a setting is selected, the corresponding event fires, the context menu closes etc. This is wanted behaviour.
But when I open the context menu and decide that I want to close it right away (for example no setting fits my criteria), I can not close it by just clicking into empty space inside the scheduler. I have to click into empty spaces/on elements outside the scheduler on the website.

This only happens when the setting "timeRangeSelectedHandling" of the scheduler is set to "disabled".

Thanks in advance for any help!

Answer posted by Dan Letecky [DayPilot]
4 days ago.

Hi Daniel,

This should be fixed now in the latest sandbox build (2021.2.4981):
https://javascript.daypilot.org/sandbox/

Comment posted by Daniel L.
4 days ago.

Thanks a lot! :)

New Reply
This reply is
Your name (optional):