panel: scrollbar issue on iOS 13+
This commit is contained in:
parent
c89252f4cc
commit
422cec2ba4
3 changed files with 6 additions and 5 deletions
|
|
@ -69,7 +69,7 @@ class Modal extends Panel {
|
|||
this.popupContent = DOM.get(this.popup, '.popup-content')[0]
|
||||
|
||||
|
||||
if (iOS13) {
|
||||
if (iOS13 && this.getProp('scroll')) {
|
||||
for (let dir in this.iosScrollbars) {
|
||||
this.container.removeChild(this.iosScrollbars[dir].container)
|
||||
this.popupContent.appendChild(this.iosScrollbars[dir].container)
|
||||
|
|
|
|||
|
|
@ -85,7 +85,7 @@ class Panel extends Container() {
|
|||
|
||||
this.container.classList.add('contains-widgets')
|
||||
|
||||
if (iOS13) {
|
||||
if (iOS13 && this.getProp('scroll')) {
|
||||
|
||||
faderDefaults = faderDefaults || Fader.defaults()._props()
|
||||
|
||||
|
|
@ -291,7 +291,7 @@ class Panel extends Container() {
|
|||
case 'colorBg':
|
||||
this.setCssVariables()
|
||||
case 'colorWidget':
|
||||
if (iOS13) this.checkScrollBars()
|
||||
if (iOS13 && this.getProp('scroll')) this.checkScrollBars()
|
||||
case 'colorText':
|
||||
case 'colorFill':
|
||||
case 'colorStroke':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue