We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0294a0 commit 03d825dCopy full SHA for 03d825d
test/BasicTestsSpec.js
@@ -848,4 +848,21 @@ describe('uiScroll', function () {
848
});
849
850
851
+ describe('effective height', function() {
852
+ var scrollSettings = {
853
+ datasource: 'myInfiniteDatasource',
854
+ topVisible: 'topVisible',
855
+ bufferSize: 3,
856
+ viewportHeight: 315
857
+ };
858
+
859
+ it('should break through negative value', function() {
860
+ runTest(scrollSettings,
861
+ function (viewport, scope) {
862
+ expect(scope.topVisible).toBe('item1');
863
+ }
864
+ );
865
+ });
866
867
868
0 commit comments