vue-autosize
vue-autosize copied to clipboard
Unwanted change of height when active
Hi. This bug is even in example - http://mage3k.github.io/vue-autosize/ When I set textarea active it added inline height and change height a few pixels.
I don't see such behavior in original autoresize.
Any chance to fix it?
<tempalte>
<textarea v-autosize="value" :style="{height: height}">{{value}}</textarea>
</tempalte>
<script>
export default {
data() {
return {
height: 100,
value: 'some test'
}
}
}
</script>
like this?
It could work. But still, this breaks if I set more than 34px - it return to that value after I type. Why 34px?
@mage3k Any update on this issue?
@iamdubx I see the same behavior in http://www.jacklmoore.com/autosize/
are you using Chrome?