Skip to content

Restore pointer cursor on eligible buttons#8878

Merged
tagliala merged 1 commit intomasterfrom
bugfix/8877-button-pointer
Dec 7, 2025
Merged

Restore pointer cursor on eligible buttons#8878
tagliala merged 1 commit intomasterfrom
bugfix/8877-button-pointer

Conversation

@tagliala
Copy link
Contributor

@tagliala tagliala commented Dec 6, 2025

In v4.0.0.beta19 we lost the global cursor: pointer styling for interactive navbar links and buttons.

This regression stems from Tailwind's removal of the default pointer cursor on buttons and elements with role="button".

Update plugin.js to explicitly set cursor: pointer for:

  • button:not(:disabled)
  • [role='button']:not(:disabled)

This restores expected hover behavior in the admin navbar and other interactive controls, aligning beta19 with beta18 UX.

Refs:

Fixes #8877

@tagliala
Copy link
Contributor Author

tagliala commented Dec 6, 2025

Bundler 4 😞

In v4.0.0.beta19 we lost the global `cursor: pointer` styling for
interactive navbar links and buttons.

This regression stems from Tailwind's removal of the default pointer
cursor on buttons and elements with `role="button"`.

Update plugin.js to explicitly set `cursor: pointer` for:
- `button:not(:disabled)`
- `[role='button']:not(:disabled)`

This restores expected hover behavior in the admin navbar and other
interactive controls, aligning beta19 with beta18 UX.

Refs:
- tailwindlabs/tailwindcss#15773
- tailwindlabs/tailwindcss.com#2023

Fixes #8877
@tagliala tagliala force-pushed the bugfix/8877-button-pointer branch from 30f116f to 11a8c32 Compare December 6, 2025 14:42
@codecov
Copy link

codecov bot commented Dec 6, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.08%. Comparing base (c308752) to head (11a8c32).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #8878   +/-   ##
=======================================
  Coverage   99.08%   99.08%           
=======================================
  Files         139      139           
  Lines        4046     4046           
=======================================
  Hits         4009     4009           
  Misses         37       37           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@tagliala tagliala requested a review from javierjulio December 6, 2025 14:48
Copy link
Member

@javierjulio javierjulio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@tagliala tagliala merged commit 0996891 into master Dec 7, 2025
28 checks passed
@tagliala tagliala deleted the bugfix/8877-button-pointer branch December 7, 2025 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[v4 beta 19]: missing cursor pointer style in navbar - regression

2 participants