Skip to content

Commit

Permalink
fix(dropdown): added missing fixedWindow call
Browse files Browse the repository at this point in the history
  • Loading branch information
BowlingX committed Feb 24, 2016
1 parent d3f00e7 commit 4112883
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/Dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -321,13 +321,13 @@ class Dropdown {
this.currentOpen = dropdownContent;
this.currentTarget = target;
}
FixedWindow.getInstance().open(this);
if (isAbsolute) {
// Check collision:
let selfTarget = target.getAttribute(ATTR_DATA_TARGET);
selfTarget = selfTarget ? doc.getElementById(selfTarget) : target;
Util.setupPositionNearby(selfTarget, dropdownContent, target.flexCollisionContainer);
} else {
FixedWindow.getInstance().open(this);
// optionally get custom darkener container for target
const d = target.getAttribute(ATTR_DARKENER);
if (d) {
Expand Down

0 comments on commit 4112883

Please sign in to comment.