diff --git a/ui/src/components/input/QInput.js b/ui/src/components/input/QInput.js index ccc390a2361..fdd302a57ba 100644 --- a/ui/src/components/input/QInput.js +++ b/ui/src/components/input/QInput.js @@ -297,8 +297,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