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

文本域(a-textarea)内联class、style被吞 #3273

Closed
1 task
7emotion opened this issue Nov 28, 2020 · 2 comments
Closed
1 task

文本域(a-textarea)内联class、style被吞 #3273

7emotion opened this issue Nov 28, 2020 · 2 comments
Labels

Comments

@7emotion
Copy link

7emotion commented Nov 28, 2020

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

2.0.0-rc.2

Environment

vue3.0.3

Reproduction link

https://2x.antdv.com/components/input-cn/#components-input-demo-textarea

Steps to reproduce

<template>
<!-- 1.当前textarea宽度不为45% -->
<a-textarea class="w-45" v-model:value="value" />
<!-- 2.当前textarea宽度不为45% -->
<a-textarea v-model:value="value" style="width: 45%" />
<!-- 3.通过文档级的css进行渲染为45% -->
<a-textarea v-model:value="value" />
</template>
<script>
export default {
data() {
return {
value: "",
};
},
};
</script>
<style lang="scss" scoped>
.w-45 {
width: 45%;
}

textarea:nth-child(3) {
width: 45%;
}
</style>

What is expected?

解决内联class和style被吞服问题。

What is actually happening?

解决内联class和style被吞服问题。

zkwolf added a commit to zkwolf/ant-design-vue that referenced this issue Nov 28, 2020
Amour1688 pushed a commit that referenced this issue Nov 29, 2020
@zkwolf
Copy link
Member

zkwolf commented Nov 29, 2020

下个版本修复

@zkwolf zkwolf closed this as completed Nov 29, 2020
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants