-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Description
What version of Tailwind CSS are you using?
For example: v4.1.4-4.1.6
What build tool (or framework if it abstracts the build tool) are you using?
vite v6.3.5
What version of Node.js are you using?
v22.15.0
What browser are you using?
Chrome / Firefox
What operating system are you using?
macOS
Reproduction URL
https://play.tailwindcss.com/sM9n2CsDra
This is a sample modal from a fresh install of Laravel Jetstream. If you switch the Tailwind Play to v3.x, you'll see what it should look like.
Describe your issue
When I upgraded my Laravel 12 Jetstream project from TailwindCSS v4.1.3 to v4.1.6 I noticed that none of my modals are working anymore (using the modal component that ships with Jetstream). I narrowed it down to the problem being introduced with tailwindcss/[email protected].
In the Play above you can see that the inset background of the modal appears above the modal and it doesn't in 4.1.3 or earliert versions. In my packages.json I can actually set [email protected] and everything will still work, as long as tailwindcss/vite is < 4.1.4.