App menu active while display modal Dialog (hang App)

Post Reply
marcov
Posts: 3
Joined: 01 Mar 2018, 13:41

06 Feb 2019, 00:25

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.

merve7
Posts: 467
Joined: 12 Sep 2017, 10:44

12 Feb 2019, 09:16

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.

Post Reply

Return to “Serenity - PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests