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

[Linear Progress Indicator] Indicator colour is gone when screen/text is zoom #3856

Open
ashishjohn1908 opened this issue Nov 20, 2023 · 3 comments

Comments

@ashishjohn1908
Copy link

Description: Indicator colour is invisible when we try to zoom using Accessibility

Android API version: API 33

Device: Emulator API 33

Screen.Recording.2023-11-20.at.10.51.11.AM.mov
@pekingme
Copy link
Contributor

Did the "indicator" segment become transparent with a non-zero progress or the progress is reset to 0? Btw, which release are you using?

@ashishjohn1908
Copy link
Author

Yes. I have tried to add toast to display the progress. It was showing the correct value in toast but no progress was visible in progress bar. I am using the latest release available.
I was facing the issue when I used in one of the container in a scroll view. Its working fine outside the scroll view.

@pekingme
Copy link
Contributor

Where did you add the Toast? I can repro this in the "main" demo in catalog. What I did is creating a button to toast the progress. After changing the font size in settings and returning to the catalog, the progress disappears. When clicking the button to toast, it shows "0" as the progress. So in my case, the progress was actually reset somehow when system updates the font size. But I can't repro this in the "determinate" demo. And in the "indeterminate" demo, if I set the progress before changing the font size, it will become indeterminate after the system sets font size. So I think this is highly related to how the views are initialized. Could you share a minimal sample to repro in your case?

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

No branches or pull requests

3 participants