[ 3 posts ]

Khoa Bui

  • Username: khoaminhbui
  • Joined: Tue Aug 09, 2011 6:11 am
  • Posts: 127
  • Location: Vietnam
  • Twitter: khoaminhbui
  • IRC: k_bui
  • Offline
  • Profile

Panel: widget mask remains after click 'Close' (x) button.

Post Posted: Tue Jul 10, 2012 12:52 am
+0-
There is a strange case with the Panel. The html code of the panel is in a div element.
I create a modal panel, then show it normally. When click on close button, the panel is hidden, but the widget mask remains.
When I do inspect, i see that the widget mask move up to be child of body element, not as child of original div element.

If I press escape instead of 'Close' button, the panel and widget mask is hidden peacefully.

If I apply hideOn 'clickoutside', then click 'Close' works well.

Anyone have an idea?

Alberto Santini

YUI Contributor

  • Offline
  • Profile

Re: Panel: widget mask remains after click 'Close' (x) butto

Post Posted: Tue Jul 10, 2012 1:29 am
+0-
Hello Khoa.

Any jsfiddle snippet reproducing the issue?

Regards,
IceBox

Khoa Bui

  • Username: khoaminhbui
  • Joined: Tue Aug 09, 2011 6:11 am
  • Posts: 127
  • Location: Vietnam
  • Twitter: khoaminhbui
  • IRC: k_bui
  • Offline
  • Profile

Re: Panel: widget mask remains after click 'Close' (x) butto

Post Posted: Tue Jul 10, 2012 7:56 pm
+0-
Hello Alberto,

As my previous post, this issue is strange and happen in a section of my application code.
Otherwise, it works well.
I try to describe the problem, so that someone with inside knowledge of Panel widget can guess and know what happen.

FYI, I create an example here: http://jsfiddle.net/khoaminhbui/3ZwdS/.
Unfortunately, the example works.
  [ 3 posts ]
Display posts from previous:  Sort by  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum