Menu does not respect disabled state for Button
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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