Switching views problem

Hi Jake, thanks for reporting the problem, I managed to reproduce this in Ionic (tried it with 4 and 5) - but it only happens if

  • it’s in the Chrome simulator
  • the example code is inside ion-content

It worked fine for me on real devices, on both iOS and Android/Chrome.

The problem seems to be, that the div.md-switching-view-cont from the example code has a height:100%, which, for some reason, stops working when the view is switched - seems like a repaint problem, since if I disable and enable the rule from the dev console, it starts to work again - the container will have the correct height, the device will need a resize / orientationchange for the calendar to set the list scrollabe. I need to investigate this further, to see if there’s any fix for this.

Can you confirm that this doesn’t happen on real devices for you as well?