michaelgira23 / Pear-Tutoring

Sharing the fruits of knowledge
https://peartutoring.net
MIT License
5 stars 1 forks source link

ngOnChange spam when switched to week view in calendar #34

Open JackCai1206 opened 7 years ago

JackCai1206 commented 7 years ago

When week view is opened in the session-calendar component, ngonchanges, which is originally only listening to changes in the 'session' @input for the component, starts to listen to all of the mouse move and scrolling events, calling ngOnChanges() handler in the component.

JackCai1206 commented 7 years ago

so i noticed the same bahavior for ngOnChanges in the session component too. I don know if only me is experiencing this. Right now in the scheduling branch i got rid of the console logs but feel free to test it out.