NW >=15.0 angularjs bootstrap transitions animation too slow

51 views
Skip to first unread message

katm...@gmail.com

unread,
Jun 6, 2016, 10:47:18 AM6/6/16
to nw.js
We've created an app using nw (12.0.3) and Angularjs, Bootstrap for the frontend.

Recently I upgrade the nw version to the 15.0.* and every toggle transitions gets to slow and lazy in the windows; specifically I'm using the ui-accordion component from the ui-bootstrap library. So I downgrade the nw version and everything works fine again.

My currently packages versions:

AngularJS: 1.5.0
Angular Animate: 1.5.0
Angular UI Bootstrap: 1.2.1
Bootstrap: 3.3.6

The code not working is:

<div class="col-md-8 col-sm-12 col-xs-12">
<div class="x_panel">
<div class="x_title">
<h2>Seleccione Medicamentos:</h2>
<div class="clearfix"></div>
</div>
<div class="x_content">
<!-- start accordion -->
<div class="loading-spiner-holder" data-loading ><div class="loading-spiner">Cargando ... </div></div>

<div ng-repeat="group in groups|orderBy:'familia_id'" >
<uib-accordion close-others="oneAtATime" >
<uib-accordion-group heading="{{group.familia}} (Disponibles: {{group.total}} - Seleccionados: {{group.selCount}})">
<div style="max-height:250px;overflow-y:scroll">
<div ng-repeat="med in group.medicinas track by $index" >
<p>
<input type="checkbox" ng-model="med.Selected" ng-click="checkMedSel()" class="flat"> {{med.nombre_completo}} 
</p>
</div>
</div>
</uib-accordion-group>
</uib-accordion>
</div>
<!-- end of accordion -->
</div>
</div>

As you can see, ng-repeat creates as accordion-groups as needed, all of the closed, but when the user clicks into the title it starts to show the group content reaaaalllyyy slow, doing it not functional.

Any tip on this?

Roger

unread,
Jun 7, 2016, 2:52:31 AM6/7/16
to katm...@gmail.com, nw.js
Does the same code run well in Chromium browser 51?

--
You received this message because you are subscribed to the Google Groups "nw.js" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nwjs-general...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages