Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: EE-1.8.2.GA_P03
-
Fix Version/s: 1.8.3, EE-1.8.2.GA_P04
-
Component/s: ICE-Components
-
Labels:None
-
Environment:IE8
Description
Issue Scenario: An application uses a page that is larger than the browser view. Thus a use is required to scroll the page to see other fields at the bottom of the page. If a user sets focus to an input field at the top of the page, scrolls down, and hovers over an area with a panelTooltip, the page is scrolled back up to the top of the page. This seems to occur only in IE8. Testing in Firefox and IE7 does not reproduce this issue.
-
Hide
- Case10471Example.war
- 6.78 MB
- Arran Mccullough
-
- META-INF/MANIFEST.MF 0.1 kB
- META-INF/context.xml 0.1 kB
- WEB-INF/classes/.../example/TestBean.class 0.5 kB
- WEB-INF/faces-config.xml 0.6 kB
- WEB-INF/lib/backport-util-concurrent.jar 316 kB
- WEB-INF/lib/commons-beanutils.jar 223 kB
- WEB-INF/lib/commons-collections.jar 554 kB
- WEB-INF/lib/commons-digester.jar 137 kB
- WEB-INF/lib/commons-fileupload.jar 56 kB
- WEB-INF/lib/commons-logging.jar 51 kB
- WEB-INF/lib/icefaces-comps.jar 1.73 MB
- WEB-INF/lib/icefaces-facelets.jar 592 kB
- WEB-INF/lib/icefaces.jar 1.20 MB
- WEB-INF/lib/jsf-api-1.2.jar 347 kB
- WEB-INF/lib/jsf-impl-1.2.jar 818 kB
- WEB-INF/lib/jxl.jar 689 kB
- WEB-INF/.../krysalis-jCharts-1.0.0-alpha-1.jar 148 kB
- WEB-INF/web.xml 4 kB
- welcomeICEfaces.xhtml 2 kB
-
Hide
- Case10471Example.zip
- 18 kB
- Arran Mccullough
-
- Case10471Example/build.xml 3 kB
- Case10471Example/.../ant-deploy.xml 2 kB
- Case10471Example/.../build-impl.xml 58 kB
- Case10471Example/.../faces-config.NavData 0.3 kB
- Case10471Example/.../genfiles.properties 0.5 kB
- Case10471Example/.../private.properties 0.5 kB
- Case10471Example/.../project.properties 3 kB
- Case10471Example/nbproject/project.xml 1 kB
- Case10471Example/src/conf/MANIFEST.MF 0.0 kB
- Case10471Example/src/.../TestBean.java 0.2 kB
- Case10471Example/web/.../context.xml 0.1 kB
- Case10471Example/web/.../faces-config.xml 0.6 kB
- Case10471Example/web/WEB-INF/web.xml 4 kB
- Case10471Example/.../welcomeICEfaces.xhtml 2 kB
-
- screenshot-01.png
- 181 kB
-
- screenshot-02.png
- 276 kB
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
This has nothing to do with the component. It is caused by the focus management of the framework. Focus management tries to re-set the focus after a roundtrip to the server. This will cause IE to scroll to the element in focus. See screenshot 1 for the line of code that causes this.
The IE issue is a known issue. See screenshot 2, for example.
Show
yip.ng
added a comment - - edited This has nothing to do with the component. It is caused by the focus management of the framework. Focus management tries to re-set the focus after a roundtrip to the server. This will cause IE to scroll to the element in focus. See screenshot 1 for the line of code that causes this.
The IE issue is a known issue. See screenshot 2, for example.
Attached test case that reproduces the issue.
Steps to reproduce:
- Set focus to top input field.
- Scroll down to the bottom of the page.
- Hover over the text at the bottom.
- In IE8 the page is scrolled back to the top and the tooltip is shown for a second.
Show
Arran Mccullough
added a comment - Attached test case that reproduces the issue.
Steps to reproduce:
Set focus to top input field.
Scroll down to the bottom of the page.
Hover over the text at the bottom.
In IE8 the page is scrolled back to the top and the tooltip is shown for a second.
The solution used was to avoid re-applying the focus on an already focused element. This way IE8 won't scroll to the focus element when a focus command is received.