Skip to content

Commit

Permalink
Build
Browse files Browse the repository at this point in the history
  • Loading branch information
Trevor Burnham committed Dec 12, 2016
1 parent 1fea672 commit ba548d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/js/tether.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ function getScrollParents(el) {
var overflowX = _style.overflowX;
var overflowY = _style.overflowY;

if (/(auto|scroll)/.test(overflow + overflowY + overflowX)) {
if (/(auto|scroll|overlay)/.test(overflow + overflowY + overflowX)) {
if (position !== 'absolute' || ['relative', 'absolute', 'fixed'].indexOf(style.position) >= 0) {
parents.push(parent);
}
Expand Down
Loading

0 comments on commit ba548d5

Please sign in to comment.