Skip to content

Conversation

@soixdev91
Copy link
Collaborator

@soixdev91 soixdev91 commented Dec 19, 2025

Short description

Wrapped CgnAnimatedBackground’s WebView with a non-accessible View to prevent it from receiving focus during 2-switch navigation.

List of changes proposed in this pull request

  • Wrapped the background WebView with a View using:
    importantForAccessibility="no-hide-descendants"
    accessible={false}
    accessibilityElementsHidden={true}
  • Prevented the background animation from stealing accessibility focus during switch-based navigation

How to test

Enable 2-switch navigation on device, from CGN_DETAILS verify that the animated background is skipped.

PreviousNew
Registrazione.schermo.2025-12-19.alle.17.37.59.mov
Registrazione.schermo.2025-12-19.alle.17.41.10.mov

@github-actions
Copy link
Contributor

PR Title Validation for conventional commit type

All good! PR title follows the conventional commit type.

@github-actions
Copy link
Contributor

github-actions bot commented Dec 19, 2025

Jira Pull Request Link

This Pull Request refers to Jira issues:

@codecov
Copy link

codecov bot commented Dec 19, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 59.95%. Comparing base (9b4b095) to head (ad03b6f).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #7734   +/-   ##
=======================================
  Coverage   59.95%   59.95%           
=======================================
  Files        1910     1910           
  Lines       41828    41828           
  Branches     9712     9632   -80     
=======================================
  Hits        25078    25078           
- Misses      16665    16676   +11     
+ Partials       85       74   -11     
Files with missing lines Coverage Δ
...res/bonus/cgn/components/CgnAnimatedBackground.tsx 85.71% <ø> (ø)

... and 11 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9b4b095...ad03b6f. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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

Labels

IO-Bonus e pagamenti IO - Bonus e pagamenti

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants