I don’t know anything about bootstrap, but I’m very interested...
The path seems to be this way:
CSS:
.dropdown-menu{
position:fixed;
}
jquery:
$('.dropdown-toggle').click(function (){
dropDownFixPosition($(this),$(this).next('.dropdown-menu'));
});
function dropDownFixPosition(button,dropdown){
var dropDownTop = button.offset().top + button.outerHeight();
dropdown.css('top', dropDownTop + "px");
dropdown.css('left', button.offset().left + "px");
}
jsfiddle: http://jsfiddle.net/jaderw/cx6qa617/3/
source: https://github.com/twbs/bootstrap/issues/7160
Check for possible incompatibilities on different browsers:
IE 11:
Firefox:
One thing to try to help: in the "here goes normal" you just put the set ul.dropdown-menu?
– Blau
you say change places?
– Daniel Lemes
No, I asked what change you make and it works.
– Blau
No, there’s a system comment... nothing to do with the problem, I’ll even edit the code
– Daniel Lemes