Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 422912

Summary: Folder view page isn't scrollable after page load
Product: [ECD] Orion Reporter: Chris McGee <cbmcgee>
Component: ClientAssignee: Project Inbox <orion.client-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: 4.0   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Chris McGee CLA 2013-12-01 16:11:08 EST
When loading the folder view page the page is not immediately scrollable using pgup and pgdown keys like the text editor page is. This make it a bit difficult to land on the page and scroll down to the README.md section below the contents table for instance.
Comment 1 Chris McGee CLA 2013-12-01 16:13:53 EST
This fix to inputManager.js (around line 486) seems to fix the problem:

// EXISTING CODE HERE:
if (!isDir) {
	editor.setInput(title, null, contents);
	this._unsavedChanges = [];
	this.processParameters(input);
}
// FIX IS HERE:
else {
	// In the case of the directory make sure to set focus to
	//  the main div so that users can scroll immediately and tab
	//  through the contents (tables, etc.)
	var tabIndex = editor._domNode.getAttribute("tabindex");
	
	if (!tabIndex || tabIndex === "") {
		editor._domNode.setAttribute("tabindex", "0");
	}
	
	editor._domNode.focus();
}
Comment 2 John Arthorne CLA 2015-05-05 16:19:48 EDT
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see:


https://dev.eclipse.org/mhonarc/lists/orion-dev/msg03444.html