Related Changes: Discard late arriving REST API results
Users can load CS2 and open a file before Related Changes is able to
finish its REST API calls and load the panel. If this happens the tab
will be detached from the DOM and cannot measure its correct height,
resulting in CSS failures with "CSS heights should not be negative".
Discard REST results if the widget is no longer attached to the DOM,
as the user has navigated away and does not care anymore.
Change-Id: Iad8303879019570edc67192956d32d7eddb9926e
1 file changed