Currently, I am utilizing ng-repeat 1.4 to dynamically generate elements within a div that has polymer shadow classes and uses the 'layout horizontal' style, resulting in code similar to:
<div class='layout horizontal'>
<div ng-repeat="elements in forms"></div>
</div>
Although new elements are rendered smoothly at the right side of the previous one with focus, there is an abrupt appearance which makes scrollbars appear suddenly without any transition, causing a slightly chaotic visual effect. I would like to implement a smooth scrollbar movement.
I have included a sketch depicting the current situation: https://i.stack.imgur.com/pM9jD.png
To address this issue, my thoughts are:
- Avoid sudden movement to the new element.
- Gradually move the scrollbar from its previous position to the new one.
Are you aware of any transitions in Angular or Polymer that could accomplish this? Any ideas on how to achieve this desired effect?