no, still the same) - Bobby commented on July 8th 19 at 16:18
only now always opens up) - Bobby commented on July 8th 19 at 16:21
: try to add to this design var forceBelow = typeof this.options.get('forceBelow') != "undefined" ? this.options.get('offsetTop') : false; as in the design add to the condition !forceBelow
if (!enoughRoomBelow && enoughRoomAbove && !isCurrentlyAbove && !forceBelow) {
newDirection = 'above';
} else if (!enoughRoomAbove && enoughRoomBelow && isCurrentlyAbove) {
newDirection = 'below';
}
now when you initialize forceBelow: true - maggie_Hagenes59 commented on July 8th 19 at 16:24
still also works. - Bobby commented on July 8th 19 at 16:27
: apparently the version of the select is different - maggie_Hagenes59 commented on July 8th 19 at 16:30
: giving installed via bower, I think there the latter had to sacateca. - Bobby commented on July 8th 19 at 16:33
Please sign in or sign up to write your answer or comment.
if (!enoughRoomBelow && enoughRoomAbove && !isCurrentlyAbove && !forceBelow) {
newDirection = 'above';
} else if (!enoughRoomAbove && enoughRoomBelow && isCurrentlyAbove) {
newDirection = 'below';
}
now when you initialize forceBelow: true - maggie_Hagenes59 commented on July 8th 19 at 16:24