Skip to content
This repository has been archived by the owner on Nov 15, 2018. It is now read-only.

Commit

Permalink
fix(comment): 解决在iOS下评论输入框异常的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
mutoe committed Nov 7, 2018
1 parent 95cbad2 commit f92ebec
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/CommentInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
@input="moveCurPos"/>
<textarea
ref="shadow"
v-model="shadowText"
:value="shadowText"
:disabled="true"
class="textarea-shadow"
rows="1"
maxlength="255"/>
Expand Down Expand Up @@ -192,6 +193,7 @@ export default {
.textarea-shadow {
position: absolute;
opacity: 0;
z-index: -1;
}
}
Expand Down

0 comments on commit f92ebec

Please sign in to comment.