User Profile
chowdam999
Copper Contributor
Joined 5 years ago
User Widgets
Recent Discussions
Dynamic Behaviour of Dialog Box component is not working.
Hi all, Dynamic Behaviour of Dialog Box component is not working, when we change default styles to our custom styles. i.e, If i change the width and height of Dialog Box and when we minimize or decrease the browser window , Dialog Box is not auto adjusting dynamically to current browser size. When I use default dialog styles, functionality is working fine. Please provide some inputs on this issue. Thanks578Views0likes0CommentsRe: ModelProps not supporting Styles property in office ui fabric control dialog component.
Sudharsan K Previously it supported : modalProps={{ titleAriaId: this.labelId, subtitleAriaId: this.subTextId, isBlocking: false, styles: { main: { height: 350, width: 500 } }, }} Now its working with below code : modalProps={{ isBlocking: false, styles: { main: { height: 700 } }, }} minWidth={'1450px'}1.5KViews0likes1CommentModelProps not supporting Styles property in office ui fabric control dialog component.
<Dialog hidden={hideDialog} onDismiss={this._closeDialog} dialogContentProps={{ type: DialogType.normal, title: 'Missing Subject', subText: 'Do you want to send this message without a subject?', }} modalProps={{ styles: { main: { maxWidth: 450 } }, isModeless: true, dragOptions: isDraggable ? this._dragOptions : undefined, onDismissed: this._closeDialog, }} > styles is not supporting on dialog box . I want to give custom width and height to dialogBox.Solved1.5KViews0likes3Comments
Recent Blog Articles
No content to show