-
Notifications
You must be signed in to change notification settings - Fork 58
Open
Description
per: https://code.google.com/p/fbug/issues/detail?id=5345
Firebug Lite currently doesn't scroll the Console panel to the bottom. See http://getfirebug.com/firebuglite. This isn't Safari specific.
Therefore I keep this as enhancement request for Firebug Lite.
Note that Firebug Lite development is currently put on ice due to a lack of resources. So if you want this to be implemented soon, feel free to provide a patch.
Sebastian
This "solves" it, but I'm presently to busy to branch and insert myself.
(function() {
var target = document.getElementById('fbConsole');
if (target) {
// create an observer instance
var observer = new MutationObserver(function(mutations) {
mutations.forEach(function(mutation) {
if (mutation.type === 'childList') {
var a = mutation.addedNodes;
if (a.length) {
a[a.length - 1].scrollIntoView();
}
}
});
});
// configuration of the observer:
var config = {
childList: true
};
// pass in the target node, as well as the observer options
observer.observe(target, config);
// later, you can stop observing
// observer.disconnect();
}
})();
Metadata
Metadata
Assignees
Labels
No labels