primereact
primereact copied to clipboard
Float Label: Styles in unstyled mode
Describe the bug
When apply unstyled mode with Tailwind default float labels of most components doesn't work properly.
Reproducer
https://stackblitz.com/edit/unstyled-float-label?file=src%2FApp.js
PrimeReact version
10.2.1
React version
18.x
Language
TypeScript
Build / Runtime
Create React App (CRA)
Browser(s)
All
Steps to reproduce the behavior
- Open Stackblitz
- See rendered components and its float label
Expected behavior
Float label with default styles. Or a precise guide in how to style properly float labels in unstyled mode.
Thanks for the reproducer definitely looks like the p-float-label does not have its proper affect with Tailwind.
@Dalorzo any interest in helping with this one? We need to figure out Tailwind CSS to make FloatLabel work.