Skip to content

fix: ScreenFooter - correct initial opacity for animationType 'none' (Android touch blocking) - #4035

Merged
lidord-wix merged 2 commits into
masterfrom
fix/screen-footer-none-animation-initial-opacity
Jul 29, 2026
Merged

fix: ScreenFooter - correct initial opacity for animationType 'none' (Android touch blocking)#4035
lidord-wix merged 2 commits into
masterfrom
fix/screen-footer-none-animation-initial-opacity

Conversation

@adids1221

@adids1221 adids1221 commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Description

Fix ScreenFooter blocking touches on Android when animationType='none' (or animationDuration=0).

When animationType is 'none', the animated shared value was incorrectly initialized to 0, causing the footer's opacity to be 0 on the first render frame while pointerEvents was still 'auto'. This made the footer invisible but still intercept all touches within its bounds (position absolute, full width, bottom of screen, zIndex 50) — resulting in list items and other content behind the footer not responding to taps on Android.

Root cause: the initial value check only accounted for 'fade', not 'none', even though both types use opacity-based animation.

Related: #4009, #4019

Changelog

ScreenFooter - fix Android touch blocking when animationType='none'

Additional info

  • Ticket: MOBAPP-3019
  • Does not touch useAnimatedStyle — that was the cause of the regression in ScreenFooter - with animationType 'none' #4009
  • Hide-on-scroll remains unaffected: the useEffect still drives the value 1→0 when visible becomes false

…(Android touch blocking)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

✅ PR Description Validation Passed

All required sections are properly filled out:

  • Description
  • Changelog
  • Additional info

Your PR is good for review! 🚀


This validation ensures all sections from the PR template are properly filled.

@lidord-wix
lidord-wix merged commit 4c988b5 into master Jul 29, 2026
3 checks passed
@lidord-wix
lidord-wix deleted the fix/screen-footer-none-animation-initial-opacity branch July 29, 2026 14:31
Yoavpagir pushed a commit that referenced this pull request Jul 29, 2026
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