We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32968c0 commit 47321efCopy full SHA for 47321ef
packages/devextreme/js/__internal/scheduler/workspaces/m_work_space.ts
@@ -527,7 +527,13 @@ class SchedulerWorkSpace extends WidgetObserver {
527
}
528
529
_focusInHandler(e) {
530
- if ($(e.target).is(this._focusTarget() as any) && this._isCellClick) {
+ const $target = $(e.target);
531
+ const $focusTarget = this._focusTarget();
532
+ // T1312256: On macOS, e.target can be a child element of the workspace root
533
+ const isTargetInsideWorkspace = $target.is($focusTarget)
534
+ || $target.closest($focusTarget).length > 0;
535
+
536
+ if (isTargetInsideWorkspace && this._isCellClick) {
537
delete this._isCellClick;
538
delete this._contextMenuHandled;
539
// @ts-expect-error
0 commit comments