Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: EE-3.3.0.GA_P02, 4.0
-
Fix Version/s: EE-4.0.0.GA, EE-3.3.0.GA_P03, 4.1
-
Component/s: ACE-Components
-
Labels:None
-
Environment:Firefox, Chrome, IE11
-
Assignee Priority:P1
-
Support Case References:
-
Workaround Exists:Yes
-
Workaround Description:Use the 'enter' or 'blur' filterEvent
Description
In a filter enabled ace:dataTable, the focus is lost when deleting characters from the filter input field. Upon loss of focus, using the backspace yet will return the user to the previous page.
This happens with the 'change' and 'keyup' filter events. When deleting characters in the field, if there new data to be shown, the focus is lost.
This happens with the 'change' and 'keyup' filter events. When deleting characters in the field, if there new data to be shown, the focus is lost.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Attached test case that shows the issue.
Steps:
- load intro.jsf
- Click the Welcome button (redirect used to show the backspace key issue).
- In the second column filter input enter in '111'. No data is shown.
- Using the backspace key, remove a single character so it shows '11', no data is shown and focus is kept in the field.
- Delete another character using the backspace key, it should show '1' now. A new set of data is returned but the input field no longer has focus.
- Hit the backspace key again, you are now navigated to intro.jsf.
Show
Arran Mccullough
added a comment - Attached test case that shows the issue.
Steps:
load intro.jsf
Click the Welcome button (redirect used to show the backspace key issue).
In the second column filter input enter in '111'. No data is shown.
Using the backspace key, remove a single character so it shows '11', no data is shown and focus is kept in the field.
Delete another character using the backspace key, it should show '1' now. A new set of data is returned but the input field no longer has focus.
Hit the backspace key again, you are now navigated to intro.jsf.
Verified ICEfaces 4 trunk, EE-3.3.0 maintenance branch r44806. Tomcat 7, FF 34, IE 11 Chrome 43.