This is a migrated thread and some comments may be shown as answers.

Open Dialog from Modal Window

2 Answers 855 Views
Dialog
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 1
Mark asked on 09 Apr 2021, 01:16 PM

I am opening the dialog from a modal window is there a way to have the dialog disable/turn grey the modal window as well as the page.  With the way it works now you can keep entering data on the modal window.

 

2 Answers, 1 is accepted

Sort by
0
Mark
Top achievements
Rank 1
answered on 12 Apr 2021, 07:58 PM

I started working on making a sample application showing the problem but I was unable to reproduce the problem in a sample app build from the telerik template.  So I started looking at what was different and I found that if I add the following CSS to my application it works as expect.   I really don't understand css well enough but I have a fix so I am all set. 

#app {
    display: flex;
    flex-direction: column;
}

0
Marin Bratanov
Telerik team
answered on 13 Apr 2021, 07:20 AM

Hi Mark,

Indeed, We've been able to reproduce this behavior, and it does come when the parent element of the dialogs does not have display: flex.

I made this page in our Feedback Portal where you can Follow the fix for this: https://feedback.telerik.com/blazor/1515146-predefined-dialogs-don-t-cover-a-modal-dialog-when-the-telerikrootcomponent-parent-does-not-have-display-flex

Regards,
Marin Bratanov
Progress Telerik

Тhe web is about to get a bit better! 

The Progress Hack-For-Good Challenge has started. Learn how to enter and make the web a worthier place: https://progress-worthyweb.devpost.com.

Tags
Dialog
Asked by
Mark
Top achievements
Rank 1
Answers by
Mark
Top achievements
Rank 1
Marin Bratanov
Telerik team
Share this question
or