diff --git a/ui/src/components/input/QInput.js b/ui/src/components/input/QInput.js index 5a3b539db74..56b0253e03d 100644 --- a/ui/src/components/input/QInput.js +++ b/ui/src/components/input/QInput.js @@ -333,8 +333,8 @@ export default Vue.extend({ // but keep the total control size the same // Firefox rulez #14263, #14344 this.$q.platform.is.firefox !== true && (inp.style.overflow = 'hidden') - inp.style.height = '1px' parentStyle.marginBottom = (inp.scrollHeight - 1) + 'px' + inp.style.height = '1px' inp.style.height = inp.scrollHeight + 'px' inp.style.overflow = overflow