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

Fix showing bars on tapping bottom of the screen #3684

Merged
merged 1 commit into from
Dec 9, 2024

Conversation

dus7
Copy link
Contributor

@dus7 dus7 commented Dec 5, 2024

Task/Issue URL: https://app.asana.com/0/1206226850447395/1208832461871070/f
Tech Design URL:
CC:

Description:

Updated the way how "bottom of screen" is calculated. I think this was broken for some time already but nobody noticed.
Changed to show the bars with animation.

Steps to test this PR:

  1. Open a website which allows to scroll and hide the bars.
  2. Try tapping on top/bottom to reveal bars.
  3. Try with top and bottom bar setting.

Definition of Done (Internal Only):

Copy Testing:

  • Use of correct apostrophes in new copy, ie rather than '

Orientation Testing:

  • Portrait
  • Landscape

Device Testing:

  • iPhone SE (1st Gen)
  • iPhone 8
  • iPhone X
  • iPhone 14 Pro
  • iPad

OS Testing:

  • iOS 15
  • iOS 16
  • iOS 17

Theme Testing:

  • Light theme
  • Dark theme

Internal references:

Software Engineering Expectations
Technical Design Template

@@ -1007,7 +1007,7 @@ class TabViewController: UIViewController {
}

@IBAction func onBottomOfScreenTapped(_ sender: UITapGestureRecognizer) {
showBars(animated: false)
showBars()
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not sure if this was on purpose, but tested with animation (the same as when tapping area on top) and it worked.

@dus7 dus7 requested a review from brindy December 5, 2024 17:01
Copy link
Contributor

@brindy brindy left a comment

Choose a reason for hiding this comment

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

Tap area seemed quite small, but it does work so even if it takes a few taps that's better than it was. Not sure what it was like before tbh.

@dus7 dus7 merged commit e110da8 into main Dec 9, 2024
16 checks passed
@dus7 dus7 deleted the mariusz/fix-showing-bars branch December 9, 2024 10:10
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