Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Bug 426672 - Content assist doesn't size itself wide enough and has n…
…o horizontal scroll bars

- Ensured that the clone node isn't immediately destroyed by the scroll event listener after it is created following a user's pressing the PAGE UP, PAGE DOWN, HOME or END keys.

--Signed-off-by: Elijah El-Haddad <elijahe@ca.ibm.com>
  • Loading branch information
elijahe committed Jan 30, 2014
1 parent 7fd729c commit 586130d
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -1105,6 +1105,7 @@ define("orion/editor/contentAssist", [ //$NON-NLS-0$
/** @private */
scrollIndex: function(index, top) {
this.parentNode.childNodes[index].scrollIntoView(top);
this.preserveCloneThroughScroll = true;
},
/**
* Visually selects the node at the specified nodeIndex
Expand Down

0 comments on commit 586130d

Please sign in to comment.