Skip to content

[iOS] Disable visual feedback on disabled buttons#4145

Open
j-piasecki wants to merge 1 commit intomainfrom
@jpiasecki/ios-disabled-touchable
Open

[iOS] Disable visual feedback on disabled buttons#4145
j-piasecki wants to merge 1 commit intomainfrom
@jpiasecki/ios-disabled-touchable

Conversation

@j-piasecki
Copy link
Copy Markdown
Member

Description

Touchable on iOS shows visual feedback when it's in disabled state. The callbacks are, correctly, not dispatched - the glitch is purely visual.

Test plan

Add disabled to a Touchable with visual feedback and make sure it's not shown.

Copilot AI review requested due to automatic review settings May 6, 2026 05:43
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes an iOS-only visual glitch where Touchable-style buttons still show press-in visual feedback while in a disabled state, even though JS callbacks are not fired.

Changes:

  • Prevents press-in animation from starting when userEnabled is NO on iOS gesture-handler buttons.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants