-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prevent id conflict #6
Comments
Please be more specific, I have no idea on this issue. |
<h3>Open Inside Overlay For A DIV</h3>
<div id="my-div" style="width: 400px; height: 100px; border: 1px solid #ccc; position: relative">
<button (click)="overlayManager.open('div-loading')">Show Loading For This Div</button>
<div id="div-loading" ngui-overlay>
<div style="color:#fff">Loading</div>
<button (click)="overlayManager.close('div-loading')">Close</button>
</div>
My Div<br/>
</div>
<h3>Open Inside Overlay For A DIV</h3>
<div id="my-div" style="width: 400px; height: 100px; border: 1px solid #ccc; position: relative">
<button (click)="overlayManager.open('div-loading')">Show Loading For This Div</button>
<div id="div-loading" ngui-overlay>
<div style="color:#fff">Loading</div>
<button (click)="overlayManager.close('div-loading')">Close</button>
</div>
My Div<br/>
</div> |
Can you create a plunker for this? I think you should use different id for different popup like the following. If you provide a plunker, I can quickly verify my assumption.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Open wrong overlay because there is a duplicated id in the page.
The text was updated successfully, but these errors were encountered: