Dialog Scroll
-
- Posts: 17
- Joined: 31 Aug 2018, 12:55
As per the website, I have set contentStyle={{maxHeight: "500px}} for the dialog which sets the height but doesn't allow the dialog to scroll. How do I set this?
-
- Posts: 17
- Joined: 31 Aug 2018, 12:55
Code: Select all
<Dialog visible ={this.state.ThirdRightsSelectVisible} width="800px" contentStyle={{maxHeight: "500px"}} closable={false} header="Third Party Rights" modal={true} footer=
-
- Posts: 17
- Joined: 31 Aug 2018, 12:55
Thanks. Apologies if these seem basic, very new to both react and primereact
-
- Posts: 17
- Joined: 31 Aug 2018, 12:55
Hi,
Sorry to be a pain again.
I have updated my project to the latest Primereact release and the dialog scroll isn't appearing.
My code is as follows:
<Dialog visible ={this.state.ConditionFormSelectVisible} resizable={true} contentStyle={{maxHeight: "800px", width: "1400px"}} header="Condition Assessment Form" modal={true} closable={false}
Regards,
Joe
Sorry to be a pain again.
I have updated my project to the latest Primereact release and the dialog scroll isn't appearing.
My code is as follows:
<Dialog visible ={this.state.ConditionFormSelectVisible} resizable={true} contentStyle={{maxHeight: "800px", width: "1400px"}} header="Condition Assessment Form" modal={true} closable={false}
Regards,
Joe
-
- Posts: 17
- Joined: 31 Aug 2018, 12:55
Looking at the components, it appears resizable has been removed from the dialog.js component.
What is the alternative method for working this?
What is the alternative method for working this?
-
- Information
-
Who is online
Users browsing this forum: No registered users and 17 guests