Skip to content

Commit ad2bea2

Browse files
Scheduler New Form — Fix slide animation overlapping items outside mainGroup
1 parent 81fe593 commit ad2bea2

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/devextreme/js/__internal/scheduler/appointment_popup/appointment_popup.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1609,7 +1609,7 @@ describe('Appointment Form', () => {
16091609
scheduler.showAppointmentPopup();
16101610
POM.popup.selectRepeatValue('weekly');
16111611

1612-
const animationTop = POM.popup.dxForm.element().style.getPropertyValue('--dx-scheduler-animation-top');
1612+
const animationTop = POM.popup.dxForm.$element()[0].style.getPropertyValue('--dx-scheduler-animation-top');
16131613
expect(animationTop).toBe('50px');
16141614
});
16151615
});

packages/devextreme/js/__internal/scheduler/appointment_popup/m_form.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1072,7 +1072,7 @@ export class AppointmentForm {
10721072
return;
10731073
}
10741074

1075-
const formElement = this.dxForm.element();
1075+
const formElement = this.dxForm.$element()[0];
10761076
const mainGroupElement = this._$mainGroup[0];
10771077
const formRect = formElement.getBoundingClientRect();
10781078
const groupRect = mainGroupElement.getBoundingClientRect();

0 commit comments

Comments
 (0)