ionic-team / ionic-v1

The repo for Ionic 1.x. For the latest version of Ionic, please see https://github.com/ionic-team/ionic
Other
193 stars 187 forks source link

Bug: [ngTransclude:orphan] for ion-slidebox #384

Open stripathix opened 6 years ago

stripathix commented 6 years ago

It is an intermittent problem, hard to reproduce. But I got below error on one of my view having slidebox.

Error: [ngTransclude:orphan] http://errors.angularjs.org/1.6.9/ngTransclude/orphan?p0=%3Cdiv%20class%3D%22slider-slides%22%20ng-transclude%3D%22%22%20style%3D%22width%3A%2013692px%3B%22%3E

And html that caused it is <div class="slider-slides" ng-transclude="" style="width: 13692px;">

Not sure what would cause that huge width.

Stacktrace: c()@https://app.abcde.com/app/node_modules/angular/angular.min.js:7:81 {anonymous}()@https://app.abcde.com/app/node_modules/angular/angular.min.js:322:186 b()@https://app.abcde.com/app/node_modules/angular/angular.min.js:85:427 v()@https://app.abcde.com/app/node_modules/angular/angular.min.js:71:85 g()@https://app.abcde.com/app/node_modules/angular/angular.min.js:62:389 a()@https://app.abcde.com/app/node_modules/angular/angular.min.js:62:406 a()@https://app.abcde.com/app/node_modules/angular/angular.min.js:62:406 a()@https://app.abcde.com/app/node_modules/angular/angular.min.js:62:406 N()@https://app.abcde.com/app/node_modules/angular/angular.min.js:71:34 g()@https://app.abcde.com/app/node_modules/angular/angular.min.js:62:389 N()@https://app.abcde.com/app/node_modules/angular/angular.min.js:71:34 g()@https://app.abcde.com/app/node_modules/angular/angular.min.js:62:389 b()@https://app.abcde.com/app/node_modules/angular/angular.min.js:62:12 $scope()@https://app.abcde.com/app/lib/ionic-angular/js/ionic-angular.js:12193:19 b()@https://app.abcde.com/app/node_modules/angular/angular.min.js:85:427 v()@https://app.abcde.com/app/node_modules/angular/angular.min.js:71:85 g()@https://app.abcde.com/app/node_modules/angular/angular.min.js:62:389 N()@https://app.abcde.com/app/node_modules/angular/angular.min.js:71:34 g()@https://app.abcde.com/app/node_modules/angular/angular.min.js:62:389 N()@https://app.abcde.com/app/node_modules/angular/angular.min.js:71:34 g()@https://app.abcde.com/app/node_modules/angular/angular.min.js:62:389 b()@https://app.abcde.com/app/node_modules/angular/angular.min.js:62:12 $scope()@https://app.abcde.com/app/lib/ionic-angular/js/ionic-angular.js:12193:19 b()@https://app.abcde.com/app/node_modules/angular/angular.min.js:85:427 v()@https://app.abcde.com/app/node_modules/angular/angular.min.js:71:85 g()@https://app.abcde.com/app/node_modules/angular/angular.min.js:62:389 N()@https://app.abcde.com/app/node_modules/angular/angular.min.js:71:34 g()@https://app.abcde.com/app/node_modules/angular/angular.min.js:62:389 a()@https://app.abcde.com/app/node_modules/angular/angular.min.js:62:406 a()@https://app.abcde.com/app/node_modules/angular/angular.min.js:62:406 b()@https://app.abcde.com/app/node_modules/angular/angular.min.js:62:12 a()@https://app.abcde.com/app/node_modules/angular/angular.min.js:22:161 a()@https://app.abcde.com/app/node_modules/angular/angular.min.js:151:299 {anonymous}()@https://app.abcde.com/app/node_modules/angular/angular.min.js:22:123 invoke()@https://app.abcde.com/app/node_modules/angular/angular.min.js:22:37 document()@https://app.abcde.com/app/common/bootstrapApp.js:67:26 this()@https://app.abcde.com/app/node_modules/raven-js/dist/raven.min.js:2:4677

Using Ionic, v1.3.5