Skip to content

[Bug] Adding a custom directive to theme.extend.screens breaks other breakpoints. #13898

@hirasso

Description

@hirasso

What version of Tailwind CSS are you using?

v3.4.4

What build tool (or framework if it abstracts the build tool) are you using?

  • webpack 5.92.0
  • postcss-loader 8.1.1
  • postcss-preset-env 9.5.14

What version of Node.js are you using?

For example: v20.11.0

What browser are you using?

Arc

What operating system are you using?

macOS

Reproduction URL

https://play.tailwindcss.com/csci1nIOS9?file=config

Describe your issue

The reproduction URL basically shows my issue. As soon as I add a custom directive hoversupport to my theme.screens.extend in tailwind.config.js, my breakpoints stop working. Is this intended behavior or a bug? It feels like a bug to me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions