2

使用 modal 选项时,PopupManager.removePopUp 将模糊层留在屏幕上。我尝试了任何方法,但找不到解决此问题的解决方案。

4

1 回答 1

0

I was having the same problem.

For me, what worked was to call the PopUpManager.removePopUp() method after finishing calling all the commands in the close handler callback function.

Previously, I called the PopUpManager.removePopUp(this) method within the custom window that I had previously added to the PopUpManager, but in the following line, I was calling another method (that wasn't even in the same customWindow class, but in another one). So I removed the PopUpManager.removePopUp(this) line from the customWindow, and put it at the very end of the last method in the other class.

This eliminated the problem

于 2013-01-10T21:42:17.997 回答