bestguy / sveltestrap

Bootstrap 4 & 5 components for Svelte
https://sveltestrap.js.org
MIT License
1.3k stars 183 forks source link

Placeholders are broken with floating form groups #479

Open john01dav opened 2 years ago

john01dav commented 2 years ago

As can be clearly seen in this page of Sveltestrap's documentation, placeholders are not rendered in floating FormGroups. This seems like a bug because the documentation's provided code has both a placeholder and floating FormGroup, and this working properly is definitely useful. I suggest that the placeholder is made visible only when the input is both focused and empty.

cypersii commented 2 years ago

Can i work on this issue?

john01dav commented 2 years ago

Can i work on this issue?

If you made it, I'd probably use it. I can't speak for if the project would merge it, of course, though.