Page 1 of 1

App menu active while display modal Dialog (hang App)

Posted: 06 Feb 2019, 00:25
by marcov
If a <Dialog modal={true}> is visible and the width of the window produce the "sandwich menu" you can still select an app menu entry.
It not possible to close the menu and get again the control over the dialog.
You must select a different component to destroy the Dialog and regain control of the App.

Re: App menu active while display modal Dialog (hang App)

Posted: 12 Feb 2019, 09:16
by merve7
Hi,
So sorry about this. Firstly, please add a baseZIndex prop to prevent to selecting any item. For example;

Code: Select all

<Dialog header="Godfather I" visible={this.state.display} style={{width: '50vw'}} baseZIndex={1000000} modal={true} footer={dialogFooter} onHide={() => this.setState({display:false})}>
        <p>The story begins as Don Vito Corleone, the head of a New York Mafia family, oversees his daughter's wedding.
               His beloved son Michael has just come home from the war, but does not intend to become part of his father's business.
               Through Michael's life the nature of the family business becomes clear. The business of the family is just like the head of the family,
               kind and benevolent to those who give respect,
               but given to ruthless violence whenever anything stands against the good of the family.</p>
</Dialog>
Also, We fixed the mask and this selectable issue and we will release the new version this week with fixes.