skiptools / skiptools/skip-ui

Menu does not respect disabled state for Button

Open
#246 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

appearance
Dominant language
Swift
Stars
330
Forks
76
Avg merge
3h 6m
Merged PRs (30d)
1

Description

On iOS, the third button will be disabled and grayed out, but on Android it is not disabled:

Menu("Default") {
    Button("Option 1") { logger.log("Option 1") }
    Button("Option 2") { logger.log("Option 2") }
    Button("Option 3") { logger.log("Option 3") }.disabled(true)
}

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running the provided Menu example on Android and trace how Menu and Button handle the disabled modifier. Done means Option 3 is visibly disabled and cannot be selected on Android, matching the iOS behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.