Skip to content

Issue with IgxDialog and context menu #13812

Answered by georgianastasov
Timmeeeey asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @Timmeeeey,

I have been looking into your question and yes the stopPropagation() is necessary. This implementation is made in relation to scenarios with nested igx-dialog components. This is because when we have nested igx-dialog components and a click is made outside the inner igx-dialog, only it should close, and the parent dialog should remain open as this is related to this issue.

However, with this implementation, event propagation is always stopped at the moment. That leads to the impossibility of closing some components inside the dialog, such as context menus as your described scenario, because after opening a context menu in the igx-dialog component, when clicking outside t…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Timmeeeey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants