Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Brave News opt-in modal/card animation not working when opening new NTP #6787

Closed
kjozwiak opened this issue Jan 18, 2023 · 1 comment · Fixed by #6951
Closed

Brave News opt-in modal/card animation not working when opening new NTP #6787

kjozwiak opened this issue Jan 18, 2023 · 1 comment · Fixed by #6951

Comments

@kjozwiak
Copy link
Member

Description:

If a user hasn't opted into Brave News and still sees the opt-in modal/card via NTP, the modal/card won't initially animate when opening NTP until the user scrolls the opt-in modal/card out of sight. Once the user starts scrolling up again and the modal/card becomes visible, the animations start working as expected.

Steps to Reproduce

  1. install/launch 1.46.2 (23.1.10.20) and run through the initial onboarding
  2. once the NTP opens/is visible, notice that the images/animations are missing from the Brave News opt-in modal/card
  3. open a NTP and scroll up and you'll notice that all the images are appearing but the animation isn't working
  4. scroll back down so the Brave News opt-in card isn't visible anymore and then scroll back up so it's visible
  5. once it becomes visible, the animations will start working as expected

Please see #6786 regarding the correct images not initially loading on a new profile.

Actual result:

RPReplay_Final1672973821.mp4

Expected result:

The animations on the Brave News opt-in modal/card should be working as soon as the user sees the opt-in card/modal.

Reproduces how often: [Easily reproduced, Intermittent Issue]

100% reproducible using the STR/Cases outlined above.

Brave Version:

  • Can you reproduce this issue with the most recent build from TestFlight? Reproducible with 1.47 (23.1.17.15)
  • Can you reproduce this issue with the previous version of the current build from TestFlight? Reproducible with 1.46 (22.12.15.19)
  • Can you reproduce this issue with the current build from AppStore? Reproducible with 1.46.2 (23.1.10.20)

Device details:

  • iPhone 11 running iOS 16.2 - Reproduced

Website problems only:

  • did you check with Brave Shields down? N/A
  • did you check in Safari/Firefox (WkWebView-based browsers)? N/A

Additional Information

CCing @srirambv @Uni-verse @iccub

@srirambv
Copy link
Contributor

Verification passed on the following devices running 1.49 (23.3.15.17)

  • Verified steps from issue description
  • Verified Brave News opt-in modal shows animation every time it is brough into focus either by hiding and bringing it up or by opening a new tab
iPhone 7+ (iOS 15.7.3) iPhone XR (iOS 16.3.1) iPad Pro (16.4 Beta 2)
6787-iPhone.7+.MP4
6787-iPhone.X.MP4
6787-iPad.Pro.MP4

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