Skip to content

Commit

Permalink
Release 16.2.8
Browse files Browse the repository at this point in the history
Cherry-picked changesets:
  d4dbaf7 Dmitry Levkovskiy - Fix T525720: Interface 'dxLoadPanelOptions' incorrectly extends interface 'dxOverlayOptions' (#390) (#550)
  f139a16 Andrey Lukyanov - fix unstable scrollview tests for FF (#547)
  • Loading branch information
BingoRUS committed Jun 30, 2017
1 parent 30a79f2 commit 704bb49
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
2 changes: 2 additions & 0 deletions js/ui/load_panel.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,14 @@ var LoadPanel = Overlay.inherit({
* @name dxLoadPanelOptions_animation_show
* @publicName show
* @default null
* @type animationConfig
* @extend_doc
*/
/**
* @name dxLoadPanelOptions_animation_hide
* @publicName hide
* @default null
* @type animationConfig
* @extend_doc
*/
animation: null,
Expand Down
6 changes: 3 additions & 3 deletions testing/tests/DevExpress.ui.widgets/scrollView.tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,7 @@ QUnit.test("scrollview onReachBottom action fired when bottom position is reache
inertiaEnabled: false,
onReachBottom: function() {
var location = getScrollOffset($scrollView);
assert.equal(Math.round(location.top), -Math.round($content.height() - $container.height()));
assert.roughEqual(location.top, $container.height() - $content.height(), 1);
}
});

Expand Down Expand Up @@ -775,7 +775,7 @@ QUnit.test("release after loading cause bounce to the bottom bound", function(as
},
onEnd: function() {
var location = getScrollOffset($scrollView);
assert.equal(Math.round(location.top), -Math.round($content.height() - $container.height()), "scrollview bounced");
assert.roughEqual(location.top, $container.height() - $content.height(), 1, "scrollview bounced");
}
});

Expand Down Expand Up @@ -1098,7 +1098,7 @@ QUnit.test("release calls update", function(assert) {
},
onReachBottom: function() {
var location = getScrollOffset($scrollView);
assert.equal(Math.round(location.top), -Math.round($content.height() - $container.height()));
assert.roughEqual(location.top, $container.height() - $content.height(), 1);
}
});

Expand Down
10 changes: 7 additions & 3 deletions ts/widgets-base.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1378,11 +1378,15 @@ declare module DevExpress.ui {
/** @docid_ignore dxLoadPanelOptions_accessKey */
/** @docid_ignore dxLoadPanelOptions_tabIndex */
/** @docid_ignore dxLoadPanelOptions_shadingColor */
/** @docid_ignore dxLoadPanelOptions_animation_show */
/** @docid_ignore dxLoadPanelOptions_animation_hide */

/** @docid dxLoadPanelOptions_animation */
animation?: fx.AnimationOptions;
animation?: {
/** @docid dxLoadPanelOptions_animation_show */
show?: fx.AnimationOptions;

/** @docid dxLoadPanelOptions_animation_hide */
hide?: fx.AnimationOptions;
};

/** @docid dxLoadPanelOptions_delay */
delay?: number;
Expand Down

0 comments on commit 704bb49

Please sign in to comment.