[ https://issues.apache.org/jira/browse/TAP5-300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Massimo Lusetti closed TAP5-300. -------------------------------- Resolution: Won't Fix Scriptaculous has been update and work has been done on the JS side to make it more PrototypeJS agnostic (in future) so please reopen if still applicable in 5.3 > Autocompleter on scrollable pages scrolls whole page when ArrowUp is pressed > ---------------------------------------------------------------------------- > > Key: TAP5-300 > URL: https://issues.apache.org/jira/browse/TAP5-300 > Project: Tapestry 5 > Issue Type: Bug > Components: tapestry-core > Affects Versions: 5.0.15 > Reporter: Shymon > > If you place autocompleter on a page longer than browser's window (page which > has a scrollbar) and press ArrowUp key after choice list is displayed whole > page is scrolled down such that highlighted option is on the top edge of > browser's window. If you press ArrowDown page is scrolled back to proper > position. Behaves the same in FF and IE. > Maybe this is the problem: > markPrevious: function() { > if(this.index > 0) this.index-- > else this.index = this.entryCount-1; > this.getEntry(this.index).scrollIntoView(true); > }, > markNext: function() { > if(this.index < this.entryCount-1) this.index++ > else this.index = 0; > this.getEntry(this.index).scrollIntoView(false); > }, > scrollIntoView true for previous and false for next? > It's very annoying, and makes autocompleter practically unusable on > production quality pages. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira