App icon indicating copy to clipboard operation
App copied to clipboard

[HOLD for payment 2021-11-04] LHN - Bottom of the conversation list is cut off

Open isagoico opened this issue 5 years ago • 32 comments

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Action Performed:

  1. Open the app
  2. Scroll to the bottom of the LHN

Expected Result:

Conversation list should be rendered all the way to the bottom

Actual Result:

Bottom of the conversation list is cut off .

Workaround:

Can the user still use Expensify without this being fixed? Have you informed them of the workaround?

Platform:

Where is this issue occurring?

  • iOS
  • Android

Version Number: 1.0.91-0

Logs: https://stackoverflow.com/c/expensify/questions/4856

Notes/Photos/Videos: Any additional supporting documentation

image

Expensify/Expensify Issue URL:

View all open jobs on GitHub


From @shawnborton https://expensify.slack.com/archives/C01GTK53T8Q/p1630487034256700

The bottom of the chats list view is cut off on iOS, likely because of the bottom home bar. I think the list view should extend to the bottom edge of the screen below the home bar, will share a screenshot of how other apps do it in thread

isagoico avatar Sep 02 '21 00:09 isagoico

Triggered auto assignment to @flodnv (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

MelvinBot avatar Sep 02 '21 00:09 MelvinBot

Triggered auto assignment to @jboniface (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

MelvinBot avatar Sep 02 '21 10:09 MelvinBot

I just tested in v1.0.91-3 on iOS simulator. Bottom margin there and I can scroll up to end properly. Not tested yet in real device so not sure about it. Debug purpose I also set light green color, so we can see bottom margin clearly.

Wandering that someone had already fixed it in recent version? or This problem shows on real device only?

Attached is the iOS simulator screenshot. Simulator Screen Shot - iPhone 12 - 2021-09-02 at 20 07 37

PrashantMangukiya avatar Sep 02 '21 14:09 PrashantMangukiya

Sorry about that @PrashantMangukiya I jumped the gun too quickly. I was testing on my physical Android device and got sidetracked. Indeed, I do not experience this bug (Pixel 3). I am also on 1.0.91-0... @isagoico which device did you test on?

flodnv avatar Sep 02 '21 14:09 flodnv

I'm also not able to reproduce this on my Android device but @parasharrajat mentioned in the thread he is able to reproduce in his. @parasharrajat Can you please share your device information?

isagoico avatar Sep 02 '21 15:09 isagoico

@isagoico I don't see this issue on my Android device anymore.

parasharrajat avatar Sep 02 '21 17:09 parasharrajat

It sounds like this issue isn't validated to be happening any longer. I am removing External and unassigning myself. Please close the issue if you are confident the issue is no longer occurring, or re-add the External label if you become confident that it is occurring.

jboniface avatar Sep 02 '21 19:09 jboniface

@shawnborton are you still able to reproduce this issue in your iOS?

isagoico avatar Sep 02 '21 20:09 isagoico

Still happening to me on my physical device.

On Thu, Sep 2, 2021 at 3:00 PM Isabella Goicoechea @.***> wrote:

@shawnborton https://github.com/shawnborton are you still able to reproduce this issue in your iOS?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Expensify/App/issues/5005#issuecomment-912011733, or unsubscribe https://github.com/notifications/unsubscribe-auth/AARWH5U3L6EIPMBLSLV2VXTT77JWPANCNFSM5DHWLQLQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

shawnborton avatar Sep 03 '21 20:09 shawnborton

Whoops! This issue is 2 days overdue. Let's get this updated quick!

MelvinBot avatar Sep 07 '21 19:09 MelvinBot

Eep! 4 days overdue now. Issues have feelings too...

MelvinBot avatar Sep 09 '21 19:09 MelvinBot

Now this issue is 8 days overdue. Are you sure this should be a Daily? Feel free to change it!

MelvinBot avatar Sep 13 '21 19:09 MelvinBot

10 days overdue. I'm getting more depressed than Marvin.

MelvinBot avatar Sep 15 '21 19:09 MelvinBot

12 days overdue now... This issue's end is nigh!

MelvinBot avatar Sep 17 '21 19:09 MelvinBot

This issue has not been updated in over 14 days. eroding to Weekly issue.

MelvinBot avatar Sep 20 '21 19:09 MelvinBot

This issue has not been updated in over 15 days. eroding to Monthly issue.

P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!

MelvinBot avatar Oct 13 '21 19:10 MelvinBot

This is still happening to me. How can we get this triaged and posted to Upwork?

shawnborton avatar Oct 13 '21 23:10 shawnborton

Triggered auto assignment to @mallenexpensify (AutoAssignerTriage), see https://stackoverflow.com/c/expensify/questions/4749 for more details.

MelvinBot avatar Oct 13 '21 23:10 MelvinBot

Ok, I have found the root cause of this.

We are adding wrapping BaseModal in another SafeAreaView which is a completely wrong attempt to fix an old bug https://github.com/Expensify/App/issues/3637 . I also raised the bar there. It seemed to be baseless and no evident proof was provided that how this fixes that issue. Also, the mentioned issue on the PR suggested using https://github.com/facebook/react-native/issues/26610#issuecomment-539843444.

Anyways, that is a separate discussion and if that is working, I have no issues with that.

Proposal

BaseModal is a wrapper component and we should only apply the SafeArea to the content, if needed. But as we have applied to the wrapper, it creates empty space to the bottom of the screen. https://github.com/Expensify/App/blob/c9926d910fd3ebe4ebb16d0c7cea43dea0a732c3/src/components/Modal/index.ios.js#L10.

To fix this, I will remove the SafeAreaView from Modal/index.ios.js as this is already applied to the BaseModal's content.(https://github.com/Expensify/App/blob/c9926d910fd3ebe4ebb16d0c7cea43dea0a732c3/src/components/Modal/BaseModal.js#L106).

This fixes the issue.

The scrollbar issue should be tackled in another way but I don't think that is reproducible. If that is the fix could be https://github.com/facebook/react-native/issues/26610#issuecomment-539843444.

parasharrajat avatar Oct 14 '21 14:10 parasharrajat

@shawnborton If you want contributors to work on this, then you should apply External. This issue is already triaged, I suppose.

parasharrajat avatar Oct 14 '21 14:10 parasharrajat