Skip to content

Favorite Button does not get the hover/pressed cursor styling that Button gets #366

Description

@nathanacurtis

Problem

Transform output gives Button a cursor change on hover and pressed, but Favorite Button does not get the same treatment. Both are interactive buttons, so a user moving between them sees inconsistent affordance — one signals clickability, the other does not.

Solution

Interactive components get the same hover/pressed cursor styling regardless of which component they are. Whatever condition currently qualifies Button should qualify Favorite Button too.

Acceptance criteria

  • Favorite Button shows the same hover and pressed cursor styling as Button
  • The rule that produces it generalizes to any interactive component, rather than being a per-component allowance
  • Verified in both React and Web Components transform output

Workspace

Found during transform QA of React and Web Components output, reviewing components side by side in Storybook.

Notes

Primary component: Favorite Button.

Cause is not yet known — it is unclear what distinguishes Favorite Button from Button such that only one gets the styling.


Implementation details are tracked internally.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

react-from-specsTransformer from specs into React code

Type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions