shoelace-style / shoelace

A collection of professionally designed, every day UI components built on Web standards. SHOELACE IS BECOMING WEB AWESOME 👇👇👇
https://webawesome.com
MIT License
12.52k stars 796 forks source link

sl-textarea causes "Error in parsing value for height" warning in Firefox #2107

Open ykrods opened 1 month ago

ykrods commented 1 month ago

Describe the bug

sl-textarea causes Error in parsing value for ‘height’. Declaration dropped. warning in Firefox.

To Reproduce

  1. Open Firefox
  2. Go to https://shoelace.style/components/textarea
  3. Open web developer tools and open Console tab
  4. Reload page or input some text on textarea

Screenshots

Screenshot from 2024-07-15 11-52-13

Browser / OS

Additional information

This doesn't occur when sl-textarea has resize="auto" property.

I'm just guessing, but I have a feeling there's a problem here:

https://github.com/shoelace-style/shoelace/blob/c31d4f5855a504a687642697c7e54971028f254b/src/components/textarea/textarea.component.ts#L197-L204

claviska commented 1 month ago

I can't reproduce this on Firefox 128 (macOS) with warnings shown.

CleanShot 2024-07-15 at 10 48 29@2x

@KonnorRogers are you seeing this warning?

KonnorRogers commented 1 month ago

@claviska I can reproduce it on FF 128.0

claviska commented 1 month ago

I see it now with the CSS tab selected.