Skip to content

Commit

Permalink
Scheduler(T1203033): fix calendar's fullscreen popup issue on mobile…
Browse files Browse the repository at this point in the history
  • Loading branch information
williamvinogradov authored Apr 27, 2024
1 parent 23b05fd commit 2596ad1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion js/__internal/scheduler/header/m_calendar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ export default class SchedulerCalendar extends Widget<dxSchedulerOptions> {
fullScreen: true,
showCloseButton: false,
toolbarItems: [{ shortcut: 'cancel' }],
_ignorePreventScrollEventsDeprecation: true,
preventScrollEvents: false,
enableBodyScroll: false,
},
},
],
Expand All @@ -84,7 +87,8 @@ export default class SchedulerCalendar extends Widget<dxSchedulerOptions> {
_createScrollable(content) {
// @ts-expect-error
const result = this._createComponent('<div>', Scrollable, {
direction: 'vertical',
height: 'auto',
direction: 'both',
});
result.$content().append(content);

Expand Down

0 comments on commit 2596ad1

Please sign in to comment.