Sunday, March 11, 2012

ModalPopup and Passwordstrength dont mix.

Thanks for the report! I've opened work item 1893 for this problem. The description has some details:

"Basically, if the element is display:none when PS tries to hook up to it, the offsetHeight will be 0 and the use of it in this._setBarDisplayLocation will attempt to assign a negative height. My current favorite option is to delay creating the bar until it's first needed. A quick test shows that this works, but reveals another problem. The PS bar is appended to the body and so isn't in the right z-index to show up above the ModalPopup. Appending to the target control's parent is an option, but then the positioning breaks because the MP itself is absolutely positioned and the PS bar suddenly gets positioned relative to the MP. I don't have a good general solution to this quite yet, so I'm opening this issue to track it."

Sorry for the trouble, I'll update this thread once the work item's fixed.


So what was the solution to this?

No comments:

Post a Comment