Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BAP modal issues #14136

Closed
LaurenWags opened this issue Feb 12, 2021 · 7 comments · Fixed by brave/brave-core#7985
Closed

BAP modal issues #14136

LaurenWags opened this issue Feb 12, 2021 · 7 comments · Fixed by brave/brave-core#7985

Comments

@LaurenWags
Copy link
Member

Description

Found while testing #13798

Two issues found with the BAP modal (not tooltip)

  1. unable to scroll BAP modal when in landscape mode (possibly only show modal in portrait mode --> https://bravesoftware.slack.com/archives/C0816QH3R/p1613161177249100?thread_ts=1613160945.247600&cid=C0816QH3R)
  2. Styling of the modal looks a bit odd (large white bar at the top which is not in original issue design)

Steps to reproduce

  1. Set device to Japan/Japanese
  2. Install 1.22.22 Nightly, enable staging env for Rewards
  3. Relaunch
  4. Tap on Rewards icon, dismiss onboarding
  5. Claim UGP grant
  6. Close app
  7. Advance date by 3 days
  8. Orient device to be landscape
  9. Launch Nightly
  10. On tooltip, tap Learn More

Actual result

Modal is displayed, can't scroll
modal-landscape

Expected result

Able to scroll in modal (if we keep it in this view). Layout should more closely match original in #13798 (comment)

Issue reproduces how often

easily

Version/Channel Information:

  • Can you reproduce this issue with the current Play Store version? n/a
  • Can you reproduce this issue with the current Play Store Beta version? n/a
  • Can you reproduce this issue with the current Play Store Nightly version? yes

Device details

  • Install type (ARM, x86): ARM
  • Device type (Phone, Tablet, Phablet): phone
  • Android version: 5.1

Brave version

1.22.22

Website problems only

  • Does the issue resolve itself when disabling Brave Shields?
  • Does the issue resolve itself when disabling Brave Rewards?
  • Is the issue reproducible on the latest version of Chrome?

Additional information

cc @deeppandya @codybanxs @Miyayes @brave/legacy_qa

@LaurenWags LaurenWags added bug feature/rewards QA/Yes release-notes/exclude OS/Android Fixes related to Android browser functionality ARM Android ARM related issues labels Feb 12, 2021
@Miyayes
Copy link
Collaborator

Miyayes commented Feb 12, 2021

@deeppandya is it easy to remove the white space in this case? And can you use overflow: scroll for the text?

@deeppandya
Copy link
Contributor

@deeppandya is it easy to remove the white space in this case? And can you use overflow: scroll for the text?

@Miyayes for sure. I will update it in the issue.

@kjozwiak
Copy link
Member

kjozwiak commented Feb 15, 2021

@Miyayes @deeppandya assuming we want this in 1.20.x for the BAP release so I moved it into https://github.com/brave/brave-browser/milestone/173 and labelling it as a release/blocking. If we don't care about getting this into the 1.20.x - Release #2 and are fine with this going into 1.21.x, please remove it from the millstone. CCing @bsclifton @rebron

@srirambv
Copy link
Contributor

This is an issue on bigger screen device as well. If orientation is set to landscape the modal shows full text but the Ok is not shown

@Miyayes
Copy link
Collaborator

Miyayes commented Feb 16, 2021

@deeppandya Is there a way for them to click out of this modal if "OK" is not visible in landscape?

@kjozwiak
Copy link
Member

Moving this into 1.22.x as the BAP work is being reverted via brave/brave-core#8088. Once we have more information next week, we'll re-revert brave/brave-core#8088 and move everything back into 1.21.x and release 1.21.x - Release #2.

@srirambv
Copy link
Contributor

Verification passed on Samsung Tab A with Android 10 running 1.21.76 x64 build

  • Verified browser orientation is force changed to portrait when the modal is shown
BAP.Modal.Tab.mp4

Verification passed on OnePlus 6T with Android 10 running 1.21.76 x64 build

  • Verified browser orientation is force changed to portrait when the modal is shown
BAP.Modal.ARM.mp4

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

Successfully merging a pull request may close this issue.

5 participants