Skip to content

🐛 [Bug]: 行内编辑校验必填提示不会随页面滚动而滚动 #3960

@304314270

Description

@304314270

Version

3.27

Vue Version

vue3

Link to minimal reproduction

left
</div>
<script setup lang="jsx"> import { ref } from 'vue' import { TinyGrid, TinyGridColumn } from '@opentiny/vue' const validRules = { name: [ { required: true, message: '名称必填' }, { min: 3, max: 50, message: '名称长度在 3 到 50 个字符' } ], area: { type: 'string', required: true, validator: (rule, value) => ['华东区', '华南区', '华中区'].includes(value), message: '区域格式不正确' }, address: { type: 'string', validator: (rule, value) => { return new Promise((resolve, reject) => { if (!value) { reject(new Error('地址不能为空')) } else if (value.length > 10) { reject(new Error('地址过长')) } else { resolve() } }) } } } const tableData = ref([ { id: '1', name: 'GFD 科技 YX 公司', userId: 421000103624183, area: '华东区', province: '福建省', city: '福州', contact: '许生', telephone: '1234567890', address: '福州', ipaddress: '192.168.111.111', introduction: '公司技术和研发实力雄厚,是国家 863 项目的参与者,并被政府认定为“高新技术企业”。', employees: 800, createdDate: '2014-04-30 00:56:00', boole: false, assets: '1000000', rate: 0.9 }, { id: '2', name: 'WWW 科技 YX 公司', userId: 421000103624183, area: '华南区', province: '广东省', city: '深圳', contact: '朱生', telephone: '1234567890', address: '深圳福田区', ipaddress: '192.168.111.1', introduction: '公司技术和研发实力雄厚,是国家 863 项目的参与者,并被政府认定为“高新技术企业”。', employees: 300, createdDate: '2016-07-08 12:36:22', boole: true, assets: '1500000', rate: 0.7 }, { id: '3', name: 'RFV 有限责任公司', userId: 441047913162396, area: '华南区', province: '广东省', city: '中山', contact: '秦生', telephone: '1234567890', address: '中山市', ipaddress: '192.168.111.120', introduction: '公司技术和研发实力雄厚,是国家 863 项目的参与者,并被政府认定为“高新技术企业”。', employees: 1300, createdDate: '2014-02-14 14:14:14', boole: false, assets: '1500000', rate: 0.6 }, { id: '4', name: 'TGB 科技 YX 公司', userId: 702973890055088, area: '华东区', province: '福建省', city: '龙岩', contact: '周生', telephone: '1234567890', address: '龙岩', ipaddress: '192.168.11.111', introduction: '公司技术和研发实力雄厚,是国家 863 项目的参与者,并被政府认定为“高新技术企业”。', employees: 360, createdDate: '2013-01-13 13:13:13', boole: true, assets: '1200000', rate: 0.5 }, { id: '5', name: 'YHN 科技 YX 公司', userId: 702973890055088, area: '华南区', province: '广东省', city: '韶关', contact: '郑生', telephone: '1234567890', address: '韶关', ipaddress: '192.168.101.111', introduction: '公司技术和研发实力雄厚,是国家 863 项目的参与者,并被政府认定为“高新技术企业”。', employees: 810, createdDate: '2012-12-12 12:12:12', boole: true, assets: '1500000', rate: 0.6 } ]) </script>

Step to reproduce

1、第一步:让必填提示显示。
2、第二步:把鼠标放到最外面的滚动条滚动鼠标(第一步到第二步间不要点击鼠标)

What is expected

校验必填提示会随页面滚动而滚动

What is actually happening

No response

What is your project name

tiny-vue

Any additional comments (optional)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions