# Ion slide-box css not updating while click side menu time

**URL:** <https://forum.ionicframework.com/t/ion-slide-box-css-not-updating-while-click-side-menu-time/115351>\
**Category:** ionic-v1\
**Created:** [December 14, 2017, 8:43am UTC](https://forum.ionicframework.com/t/ion-slide-box-css-not-updating-while-click-side-menu-time/115351 "2017-12-14T08:43:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![umapathi\_v](https://avatars.discourse-cdn.com/v4/letter/u/4da419/32.png) [@umapathi\_v](https://forum.ionicframework.com/u/umapathi_v)\
**Post date:** [December 14, 2017, 8:43am UTC](https://forum.ionicframework.com/t/ion-slide-box-css-not-updating-while-click-side-menu-time/115351/1 "2017-12-14T08:43:20Z")

</div>

> i’m using ionSlideTabs directive.it is working fine but when i click sidemenu time ion-slide tab css is not activated,before activated ion-slide tab css only displayed.suppose i slide in html page that time ion-slide tab css working fine

here my **controller code:**

```auto
 $scope.changeSlide = function (index,directoryName)
    {
      console.log('Slide changed to ' + index);
    var data= directoryName[index]
    if(data !=null){
      var directoryId =data.directoryId;
      data.dirId = directoryId;
      getImages();
      function getImages() {
        userService.getImages(data).then(function(response) {
            $scope.imageData = response;
            $scope.current = index;
            $ionicSlideBoxDelegate.slide(index);
        },function(error) {
    
        })
      }
    }
      $scope.ready.push(index + ': ' + true);
    };

 **home.html:**

```

```auto
<ion-content scroll="false" style="top:0px;" >

    <ion-slide-box slide-tabs-scrollable="true" show-pager="false"
     on-slide-changed="changeSlide($index,directoryList)"
      bounce="false" ion-slide-tabs>
      <ion-slide ng-repeat="($index, catg) in directoryList track by $index" ng-class:"{'slidingTabs tab-indicator-wrapper tab-indicator' :'key==current'}"
       ion-slide-tab-label="{{catg.directoryName}}" >

          <div class="row gallery">
             <div class="col col-33" ng-repeat="element in imageData" ng-click="showImages($index)">
             <img ng-src="data:image/jpeg;base64,{{element.imagePath}}" width="100%" />
             </div>
           </div>
      </ion-slide>
    </ion-slide-box>
  </ion-content>

```

```auto

**sidemenu.html:**

   

```

```
            {{menu.menuName}} &nbsp; <i class="icon" style="position: absolute;
right: 8%;" ng-class="isGroupShown(menu) ? 'ion-minus' : 'ion-plus'"></i>
          </ion-item>
          <ion-item class="item-accordion"
                    ng-repeat="($index, directories) in directoryList"
                     ng-click="changeSlide($index,directoryList)"
                    ng-show="isGroupShown(menu)" >
            {{directories.directoryName}}
          </ion-item>

```

```auto

```

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [July 19, 2021, 9:59pm UTC](https://forum.ionicframework.com/t/ion-slide-box-css-not-updating-while-click-side-menu-time/115351/2 "2021-07-19T21:59:15Z")

</div>

Closed on July 19, 2021, 9:59pm UTC


