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

请问modal框下面的原生组件,比如textarea会穿透modal,有没有办法 #12

Closed
huanghaodong opened this issue Dec 3, 2018 · 5 comments
Labels
使用答疑 解答用户使用的疑问

Comments

@huanghaodong
Copy link

请问modal框下面的原生组件,比如textarea会穿透modal,有没有办法

@wen-gang
Copy link
Collaborator

wen-gang commented Dec 4, 2018

请详细查看 form表单组件 对应的textarea有做对应的设置

@huanghaodong
Copy link
Author

image
modal框显示的时候,禁用textarea吗?

@wen-gang
Copy link
Collaborator

wen-gang commented Dec 4, 2018

/pages/form/form textarea组件有相应的隐藏代码

@wen-gang wen-gang closed this as completed Dec 4, 2018
@wen-gang wen-gang reopened this Feb 21, 2019
@wen-gang wen-gang added the 使用答疑 解答用户使用的疑问 label Feb 21, 2019
@xujipm
Copy link

xujipm commented May 20, 2019

/pages/form/form textarea组件有相应的隐藏代码

用了disabled后,在有输入的情况下是OK的,但是在 placeholder 状态下,placeholder的文字还是会在modal之上

@FirstJavaMaster
Copy link

FirstJavaMaster commented Jan 17, 2020

/pages/form/form textarea组件有相应的隐藏代码

用了disabled后,在有输入的情况下是OK的,但是在 placeholder 状态下,placeholder的文字还是会在modal之上

这种情况在微信开发者工具上不会出现, 实机模拟时就会出现. placeholder的文字处在modal之上.

现在我的做法是这样:

<textarea v-model="account.remarks" :disabled="showBindDialog" :placeholder="showBindDialog ? '' : '其他备忘信息'"/>

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