Skip to content

Resolved issue #4513 vertical scrollbar not visible #5420

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

Merged
merged 10 commits into from
Jan 15, 2024

Conversation

ShashwatKedia
Copy link
Contributor

Description (required)
In many parts of the app, the vertical scrollbar was not visible without the user scrolling, making it hard to figure out if there was a scrollable list or not.

Fixes #4513

What changes did you make and why?
I added the property fadeScrollbars="false" so that the scrollbar is visible even when the user hasn't scrolled, but the items overflow the list. If the items are lesser, then the scrollbar doesn't show up. I also added background colour and width to the scroll bar since the scrollbar only shows up on some devices with these properties set. These properties were not added to all instances of RecyclerView but were added only after careful inspection of the need for one. For example, in contributions activity, the fadeScrollbars property is set to true, so that the scrollbar only shows when the user scrolls; otherwise, it dies down.

Tests performed (required)

Tested betaDebug on OnePlus Nord CE 2 Lite with API level 31.

Screenshots (for UI changes only)

Dark Mode:
If items overflow, then the scrollbar shows up-

Dark 1

If items are lesser, then the scrollbar is not visible-

Dark 2

Light Mode:
If items overflow, then the scrollbar shows up-

Light 1

If items are lesser, then the scrollbar is not visible-

Light 2

@nicolas-raoul nicolas-raoul changed the title Resolved issue #4513 Resolved issue #4513 vertical scrollbar not visible Jan 15, 2024
translatewiki and others added 9 commits January 15, 2024 12:30
* NearbyParentFragment : added referer

In file NearbyParentFragment.java, I added header property, i.e., the referer - http://maps.wikimedia.org/
and set tile source to wikimedia.

* Reworded comments

---------

Co-authored-by: Nicolas Raoul <nicolas.raoul@gmail.com>
…allow downloading of build tools during CI. (commons-app#5434)

* NearbyParentFragment : added referer

In file NearbyParentFragment.java, I added header property, i.e., the referer - http://maps.wikimedia.org/
and set tile source to wikimedia.

* Reworded comments

* sdkmanager: added installation command for build-tools-30.0.3

* Revert "sdkmanager: added installation command for build-tools-30.0.3"

This reverts commit b3e5019.

* Update android.yml

* Update gradle.properties

* android.yml: removed extra debug commands

Removed some debug commands because they are no longer needed.

---------

Co-authored-by: Nicolas Raoul <nicolas.raoul@gmail.com>
…nearest item (commons-app#5433)

* Resolves issue commons-app#2239 by adding an arrow for direction

* Removed unnecessary change in styles.xml

* spacing

* javadoc

---------

Co-authored-by: Nicolas Raoul <nicolas.raoul@gmail.com>
* Fixed Grey empty screen at Upload wizard caption step after denying files permission

* Empty commit

* Fixed loop issue

* Created docs for earlier commits

* Fixed javadoc

* Fixed spaces

* Added added basic features to OSM Maps

* Added search location feature

* Added filter to Open Street Maps

* Fixed chipGroup in Open Street Maps

* Removed mapBox code

* Removed mapBox's code

* Reformat code

* Reformatted code

* Removed rotation feature to map

* Removed rotation files and Fixed Marker click problem

* Ignored failing tests

* Added voice input feature

* Fixed test cases

* Changed caption and description text
Copy link
Member

@nicolas-raoul nicolas-raoul left a comment

Choose a reason for hiding this comment

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

Works as intended, thanks! :-)

@nicolas-raoul nicolas-raoul merged commit 1f738eb into commons-app:main Jan 15, 2024
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.

Hard to tell if we are looking at a scrolling list
6 participants