Slidebox and modal issue


Ionic slidebox distorts after opening a modal in a different tab.
Use Case:

  • Open the codepen link :
  • Go to the second tab. i,e the "About" tab
  • Click on "geolocatio"n button
  • Modal opens and map appears
  • Now go back to the "home" tab
  • You will see that the slidebox is distorted

Ionic Slidebox + Modal
Slide Box not apperning

A easy fix for this would be to update the slide-box with tthe new view life cycle events.

  $scope.$on('$ionicView.enter', function(){