Ionic 5 ion-slides breakpoints property not working

After upgrading to Ionic 5 cannot resize the slider after passing the breakpoints property into the options. Were there any breaking changes in terms of the ion-slides component options?

slideOptsFour = {

    autoplay: {

      disableOnInteraction: false,


    loop: true,

    slidesPerView: 3,

    breakpoints: {

      // not working

      500: {

        slidesPerView: 2,




Just noticed that it is now >= 500px and not <= 500px like it used to be, which is weird. So basically I need to rewrite options the other way around.