adobe/CodeMirror2 — pull request #58 by njx (2012-06-01 22:18:48+00:00)
Title: Keep inline widgets in the DOM even when scrolled offscreen

@gruehle

Currently, we automatically hide inline widgets when they scroll out of the visible area. This is problematic for Brackets, since it means that if you have focus in an inline editor and then scroll it offscreen, it loses focus, which the user wouldn't expect.

The main reason to hide inline widgets when offscreen is for performance reasons, but if there aren't many inline widgets open at once the performance impact should be negligible.

Fixes https://github.com/adobe/brackets/issues/870 (there might be another bug lurking in there, but this fixes the root cause).