The current tab is not selected properly on a Windows Phone Universal (8.1+).
After a bit of debugging I found out that ionicSlideBoxDelegate.currentIndex() return the previous tab index on this OS.
To fix this, add a short timer before the function onSlideChange when the platform is Windows Phone :
scope.onSlideChange = function (slideIndex) { if (ionic.Platform.isWindowsPhone()) { $timeout(function () { slideToCurrentPosition(); }, 50); } else { slideToCurrentPosition(); } };
The current tab is not selected properly on a Windows Phone Universal (8.1+). After a bit of debugging I found out that ionicSlideBoxDelegate.currentIndex() return the previous tab index on this OS. To fix this, add a short timer before the function onSlideChange when the platform is Windows Phone :
scope.onSlideChange = function (slideIndex) { if (ionic.Platform.isWindowsPhone()) { $timeout(function () { slideToCurrentPosition(); }, 50); } else { slideToCurrentPosition(); } };
Regards,
Ghislain