Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit a22b002

Browse files
committed
fix(calendar): remove non-working VoiceOver fix hack
1 parent 0777cd9 commit a22b002

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/components/calendar/calendar.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -243,16 +243,7 @@
243243
/** Attach event listeners for the calendar. */
244244
CalendarCtrl.prototype.attachCalendarEventListeners = function() {
245245
// Keyboard interaction.
246-
//this.calendarElement.addEventListener('keydown', angular.bind(this, this.handleKeyEvent));
247246
this.$element.on('keydown', angular.bind(this, this.handleKeyEvent));
248-
249-
var self = this;
250-
this.calendarScroller.addEventListener('scroll', function() {
251-
if (self.calendarScroller.scrollTop == 0 &&
252-
!self.dateUtil.isSameMonthAndYear(firstRenderableDate, self.displayDate)) {
253-
self.changeDisplayDate(self.displayDate);
254-
}
255-
});
256247
};
257248

258249
/*** User input handling ***/

0 commit comments

Comments
 (0)