-
Notifications
You must be signed in to change notification settings - Fork 102
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: [ANDROAPP-5663] Tei dashboard event list scrolling getting clipped #3433
fix: [ANDROAPP-5663] Tei dashboard event list scrolling getting clipped #3433
Conversation
I don't see the new card layout being used in landscape mode, and I couldn't trigger landscape view on my device. Should I change that as well? |
c6b5796
to
170e3cc
Compare
Added support for landscape view as well |
Hi @msasikanth I just tested your PR, and everything is working great. The only thing that we want is that in Android 12+ there is a overscroll animation effect that we would like for it to disable it. Once you have, let know to test again and proceed with merging you pr. Thank you |
Done. Pushed the changes |
814d749
to
48fc86c
Compare
341b0d8
to
906e2ec
Compare
`LazyColumn` sets infinite height, if we have to place it inside another scroll view Compose will throw and runtime error saying that. We need to either set a fixed height to the `LazyColumn` or replace it with `Column` which wraps the content. Second one seemed like a good idea, so that it can react to content changes and recalculate the height.
We have to 2 options to make the entire content scroll in this screen. 1. We migrate the events items to use Compose as well and move them into `TeiDetailDashboard`. Which is ideal, but requires significant migration of UI and associated code with it. Since that's out of scope didn't go with that. 2. Since in earlier commit I have change the `LazyColumn` to `Column`, we can now place the card and the events list inside a nested scroll view to make the entire content scroll. The 2nd option seems like a sensible change for now, until we migrate events list and eventually this entire screen.
906e2ec
to
0de6b74
Compare
Quality Gate passedKudos, no new issues were introduced! 0 New issues |
Description
The scroll functionality on the event list seems to be causing issues, hiding elements beneath the dashboard. This scrolling shouldn't exist.
jira issue
Solution description
We can change the
LazyColumn
toColumn
for the card layout, and we can use nested scroll view to make the events list and card layout scrollable.Covered unit test cases
Describe the tests that you ran to verify your changes.
Where did you test this issue?
Which Android versions did you test this issue?
Checklist