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] 结合dialog使用时,首次打开dialog,input不显示 #2144

Closed
thx125 opened this issue Mar 1, 2023 · 3 comments
Closed

[input] 结合dialog使用时,首次打开dialog,input不显示 #2144

thx125 opened this issue Mar 1, 2023 · 3 comments
Assignees
Labels
Milestone

Comments

@thx125
Copy link
Contributor

thx125 commented Mar 1, 2023

NutUI scenes(nutui 场景)

H5(@nutui/nutui)

NutUI-vue version(nutui-vue 版本)

4.0.2

Vue version(vue 版本)

3.2.47

Operating environment(运行环境)

dev:h5

Citation method(引用方式)

npm

Node version(node 版本)

v19.3.0

Browser and its version(浏览器及其版本)

Chrome(110.0.5481.100)

System and its version(系统及其版本)

MacOs(13.2.1)

Steps to reproduce(重现步骤)

<nut-dialog
    teleport="#app"
    :lock-scroll="true"
    title="登 录"
    v-model:visible="state.loginPopup"
    ok-text="登 录"
    @cancel="onCancel"
    @ok="doLogin"
  >
    <nut-form style="height: 100px">
      <nut-form-item label="账号" label-width="40px">
        <nut-input placeholder="请输入账号" v-model="loginParam.account" :border="false" />
      </nut-form-item>
      <nut-form-item label="密码" label-width="40px">
        <nut-input
          placeholder="请输入密码"
          v-model="loginParam.password"
          type="password"
          :border="false"
        />
      </nut-form-item>
    </nut-form>
  </nut-dialog>

What is expected?(期望的结果是什么?)

input不受外层结构影响

What is actually happening?(实际的结果是什么?)

input不受外层结构影响

@eiinu eiinu added the bug label Mar 1, 2023
@eiinu eiinu self-assigned this Mar 2, 2023
@jsczxyt
Copy link

jsczxyt commented Mar 2, 2023

ActionSheet中放置form存在同样的问题

@eiinu eiinu added this to the v4.0.3 milestone Mar 7, 2023
@yangjisen
Copy link
Contributor

#2170 nut-popup 故障一样

@eiinu
Copy link
Member

eiinu commented Mar 10, 2023

@nutui/[email protected] 已发布

@eiinu eiinu closed this as completed Mar 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants