modal: add scroll option
This commit is contained in:
parent
ddeb3f3067
commit
361475dda0
2 changed files with 3 additions and 2 deletions
|
|
@ -3,6 +3,8 @@
|
|||
## next
|
||||
|
||||
- improved canvas rendering speed on chrome v69 and above
|
||||
- widgets
|
||||
- modal: `scroll` option
|
||||
|
||||
## 0.46.1
|
||||
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@ module.exports = class Modal extends Panel {
|
|||
popupHeight: {type: 'number|percentage', value: '80%', help: 'Modal popup\'s size'},
|
||||
popupLeft: {type: 'number|percentage', value: 'auto', help: 'Modal popup\'s position'},
|
||||
popupTop: {type: 'number|percentage', value: 'auto', help: 'Modal popup\'s position'},
|
||||
scroll: {type: 'boolean', value: true, help: 'Set to `false` to disable scrollbars'},
|
||||
|
||||
}, [], {
|
||||
|
||||
|
|
@ -43,8 +44,6 @@ module.exports = class Modal extends Panel {
|
|||
|
||||
constructor(options) {
|
||||
|
||||
options.props.scroll = true
|
||||
|
||||
super(options)
|
||||
|
||||
this.disabledProps = []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue