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 d5d3a74 commit e9c04bfCopy full SHA for e9c04bf
ui/jquery.ui.position.js
@@ -95,8 +95,8 @@ $.position = {
95
hasOverflowY = overflowY === "scroll" ||
96
( overflowY === "auto" && within.height < within.element[0].scrollHeight );
97
return {
98
- width: hasOverflowX ? $.position.scrollbarWidth() : 0,
99
- height: hasOverflowY ? $.position.scrollbarWidth() : 0
+ width: hasOverflowY ? $.position.scrollbarWidth() : 0,
+ height: hasOverflowX ? $.position.scrollbarWidth() : 0
100
};
101
},
102
getWithinInfo: function( element ) {
0 commit comments