Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

input卡顿 #3191

Open
x122536638 opened this issue Sep 11, 2024 · 1 comment
Open

input卡顿 #3191

x122536638 opened this issue Sep 11, 2024 · 1 comment

Comments

@x122536638
Copy link

NutUI 包名

@nutui/nutui, @nutui/nutui-taro

NutUI 版本号

4.3.12

平台

weapp

重现链接

1

重现步骤

<template>
  <div>

    <view label-position="top">
      <view
        v-for="(item, index) in inputFields"
        :key="index"
        :label="'姓名' + (index + 1)"
      >
         <!-- <nut-input   Xhq-input-->
        <nut-input
          v-model="formData['姓名' + (index + 1)]"
          placeholder="请输入2"
          type="text"
          class="custom-input"
        />
      </view>
    </view>
  </div>
</template>

<script setup>
import { ref } from 'vue';


const inputFields = ref([])
for (let index = 0; index < 100; index++) {
  inputFields.value.push({ id: index + 1 });
}
const formData = ref({});
</script>

<style lang="scss">
.custom-input {
  /* 这里可以根据需要自定义输入框样式 */
}
</style>


微信小程序
输入数字直接卡的起飞 ,删除文本也卡 ,换成自定义的input就不卡了

期望的结果是什么?

输入删除都是流畅的

实际的结果是什么?

卡死了

环境信息

No response

其他补充信息

No response

@zxy-c
Copy link

zxy-c commented Sep 17, 2024

SearchBar也卡,光标闪来闪去,输入得快了就无法确定输入后的结果是啥了,输入“12345”可能变成“1245”

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants