ModalPanel: switching on scrolls breaks resizers behaviors
-----------------------------------------------------------
Key: RF-4901
URL:
https://jira.jboss.org/jira/browse/RF-4901
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Reporter: Nick Belaevski
Assignee: Nick Belaevski
Priority: Minor
Fix For: 3.3.0
Issue:
--------
Just thought I'd report to you a small but quite annoying problem with the RichFaces
ModalPanel component when rendered in Internet Explorer.
If you resize the panel by dragging the lower right corner with your mouse, you get stuck
- I have not discovered any way to stop resizing. The only thing you can do is close the
browser and start all over again.
Everything seems to work fine with FireFox, and resizing in IE works OK when dragging the
right edge or lower edge of the panel. But dragging the lower right corner in IE gets you
completely stuck.
Fortunately, this is not something that our users attempt frequently, but they are not
happy campers if they do stumble across this behavior. If there's anything I can tell
them about when this might be fixed, they will appreciate it.
How to reproduce:
------------------------
The code below reproduces the problem when run in Internet Explorer. Same problem in
versions 6 and 7 of IE.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
<html
xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:rich="http://richfaces.org/rich"
<head
<style
type="text/css"
.dr-mpnl-pnl
{overflow:auto!important}
</style
</head
<body
<rich:modalPanel id="panel" resizeable="true"
left="10"
<f:facet
name="header"
Test
</f:facet
<f:facet
name="controls"
<h:graphicImage
value="/images/close.png" style="cursor:pointer"
onclick="Richfaces.hideModalPanel('panel')" /
</f:facet
Try
resizing me in Internet Explorer by dragging the bottom right corner.
<br/
Then see if you can close me - good luck!
</rich:modalPanel
<h:outputLink value="#" id="link"
Show
Modal Panel
<rich:componentControl for="panel" attachTo="link"
operation="show" event="onclick"/
</h:outputLink
</body
</html
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira