Skip to content

案例解决方案积累

给弹出框添加滚动条

tsx
editForm: {
    wrapper: {
      style: {
        maxHeight: '80vh',
        minWidth: '50vw',
        overflowY: 'auto',
        scrollbarColor: 'rgb(20, 20, 20) #000',
        scrollbarWidth: 'thin',
      }
    },
},

Released under the MIT License.