Bug 598027

Summary: SearchBar suggestions should preventDefault on up-arrow/down-arrow events
Product: [Other] RHQ Project Reporter: Joseph Marques <jmarques>
Component: Core UIAssignee: Joseph Marques <jmarques>
Status: CLOSED CURRENTRELEASE QA Contact: Sunil Kondkar <skondkar>
Severity: medium Docs Contact:
Priority: low    
Version: 3.0.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 2.4 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-08-12 16:50:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Joseph Marques 2010-05-31 09:38:10 UTC
Description of problem:

When the SearchBar suggestions are visible, up-arrow and down-arrow events will reposition the cursor to the beginning and end of the textbox, respectively.

How reproducible:

every time

Steps to Reproduce:
1. Enter "type=" into the SearchBar
2. Press down-arrow
3. Press up-arrow
  
Actual results:

On some browsers (Chrome, perhaps others) using the up-arrow / down-arrow events will reposition the cursor because the default event is not prevented.

Expected results:

The cursor remains exactly where it is, regardless of up-arrow / down-arrow events while the suggestions are showing.

Additional info:


http://code.google.com/p/google-web-toolkit/issues/detail?id=3253

Comment 1 Joseph Marques 2010-05-31 09:42:08 UTC
commit e1424094013722e3b6563bfe00eaa62ce75d2904
Author: Joseph Marques <joseph>
Date:   Mon May 31 05:38:30 2010 -0400

BZ-598027: keep the cursor where it was for up/down arrow events when suggestions are showing

Comment 2 Sunil Kondkar 2010-06-04 09:51:22 UTC
Verified on 'jon-server-2.4.0.Beta0' build on Chrome and Firefox browsers.

The cursor does not move, remains where it is after pressing down-arrow and up-arrow buttons while suggestions are showing.

Comment 3 Corey Welton 2010-08-12 16:50:30 UTC
Mass-closure of verified bugs against JON.