File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -216,7 +216,7 @@ export default class AgendaView extends Component {
216216 calendarScrollable : true
217217 } ) ;
218218 if ( this . props . calendarToggled ) {
219- this . props . calendarToggled ( this . state . calendarScrollable ) ;
219+ this . props . calendarToggled ( true ) ;
220220 }
221221 // Enlarge calendarOffset here as a workaround on iOS to force repaint.
222222 // Otherwise the month after current one or before current one remains invisible.
@@ -240,7 +240,7 @@ export default class AgendaView extends Component {
240240 selectedDay : day . clone ( )
241241 } ) ;
242242 if ( this . props . calendarToggled ) {
243- this . props . calendarToggled ( this . state . calendarScrollable ) ;
243+ this . props . calendarToggled ( false ) ;
244244 }
245245 if ( ! optimisticScroll ) {
246246 this . setState ( {
You can’t perform that action at this time.
0 commit comments