You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
Make sure this is a VueUse issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/core instead.
Check that this is a concrete bug. For Q&A open a GitHub Discussion.
@jmalatia This is due to the border added to textarea element + the dynamic height given from VueUse, you can avoid the scrollbar by using overflow: clip;
Describe the bug
When useTextareaAutosize is used on a textarea with css styles
border
andbox-sizing: border-box
, a scrollbar is displayed.Reproduction
https://play.vueuse.org/#N4IgDghgxg1hDmBTAziAXAbVAOwgW0XRADcBXRAWgBNE8BLEAGhGQHtSAnKQtEU7MDHhMQNZFA50wAFzqtsRAGrkABABFadFQAoAFhAA2AMxV1sKgGIdE2KLoCUp5CogqaxRAdZgz8FaVkDOmkATxcDLwB3ZxD2FWlWFUjJaUQVAFVsOg8OZEMVZTSAGToAIw4ISRQVI1YOAtUAJhUAMhUAZhFOAyJdaWkwZDQAemH+QXgAOihWPGGyShp6YaDS4bMaAA9JvAArVABfRhx8HhAAAQXSZERh5H1rKhE2Tm4icaERMQkpWXkiADKD0QVAaiHSN38gWCdBQky6HB6vD6AyGow+Uxmc0u5Gut3ulRB5wAjAAGSbEyak9bYLY7fYgI4nAhEHGIPHDGbWZ7sLhnDFfFA-GRyBS8ADCrAiiCgf3MrBMKBu2Fk+UKKkleDArGQMPkGWhshQCKRIBRgxGYwEQmms2GbI5XMQJPJlOpG0Q2z2hwAuswjHQDMa0KAAIJgMCTBboUCpLUGCCpIgAHlSm2khIgAB1zCo89YjABeLMgNMZ6zZkA5vN54gUPCsGgGYsgMxgAIl6s1qAJ5DIFvWXUAL0o2HkiE7ubzYAT3F0UpoHBbAHV9NIAOTOfWxTgqei0gD8k5rKmQoSDLdKdUXaA6YE2p6ldFBjwA3Cor5sKMPfLerxxFwoT930iZ9pF0W8yVJABSd8gmwShdEQOh4D6SDJgAVlfY8VGGAA+HNnmFaQiDoLU6mkFRgH8G4ABVPXLRAIFDAIdToEcVAOGoOFmFR1wdG5OTqRB1xzHMZmwM8qPiBjM0YUwBACTiVELGjEHo9NMxYhJh0QbRgAOexCKOEBJWvMxE0QKNyBjUtaBnSyUyobIu1qFUWwbMccNKeAWyCVDpAoDDSVJNxKhgNAqHCoKQpwowg02FsAD8VBmAwcLLFtuBVRAOBwsAW0abzr1ygd2FpEFJwI3Nk2QSBzEyksABZNnSkA8OAajiEMVQDgOZM7nq6q81q+qZPTFtkDwMKOAi-y+goABOEKZoi7xoGCEIYpLPcW0Cor2oAWXYSFOpUBNSk8Tj+sGiBsGqgbnOIPCiMkGQiBoAMEIABR4wZ9K7C7PFvAFpEkbB4EYLtuoMchbwAOVIPBLo4KHsEMxk+qAA
System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: