opentiny / tiny-vue

TinyVue is an enterprise-class UI component library of OpenTiny community, support both Vue.js 2 and Vue.js 3, as well as PC and mobile.
https://opentiny.design/tiny-vue
MIT License
1.64k stars 263 forks source link

🐛 [Bug]: Modal组件移动位置后滚动条失效 #2432

Open Aklscc opened 1 week ago

Aklscc commented 1 week ago

Version

latest

Vue Version

latest

Link to minimal reproduction

https://opentiny.design/vue-playground?cmpId=modal&fileName=lock-scroll.vue&apiMode=Composition&mode=pc&theme=smb

Step to reproduce

  1. Modal的内容超出当前页面
  2. Modal的顶部出现移动箭头,单击一下,会出现如下问题
    • Modal自动跳转到底部
    • Modal的滚动条被自动锁住

What is expected

Modal正常被操作

What is actually happening

  1. Modal的内容超出当前页面
  2. Modal的顶部出现移动箭头,单击一下,会出现如下问题
    • Modal自动跳转到底部
    • Modal的滚动条被自动锁住

What is your project name

https://opentiny.design/vue-playground?cmpId=modal&fileName=lock-scroll.vue&apiMode=Composition&mode=pc&theme=smb

Any additional comments (optional)

No response

Issues-translate-bot commented 1 week ago

Bot detected the issue body's language is not English, translate it automatically.


Title: 🐛 [Bug]: The scroll bar fails after the Modal component moves its position