Set Progress.Bar width to 100%
See original GitHub issueHello Joel and RNP community,
Thanks for creating and open sourcing such a helpful lib. I’m using it for all my react-native projects.
In one of those projects, I need to set the width of the progress bar to 100%. I did it by passing width={null}
to progress bar. This sets the width to 100 %, but the progress animation is hindered (gif attached).
How to go about this ?
Thank you.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:8
- Comments:6
Top Results From Across the Web
progress bar 100% width with css - Stack Overflow
I'm trying to create custom progress bar ...
Read more >W3.CSS Progress Bars - W3Schools
Change the width of a progress bar with the CSS width property (from 0 to 100%): ... Use the w3-color classes to change...
Read more >Progress - Bootstrap
Documentation and examples for using Bootstrap custom progress bars featuring support for stacked bars, animated backgrounds, and text labels. How it works.
Read more >The Progress Indicator element - HTML - MDN Web Docs
The HTML element displays an indicator showing the completion progress of a task, typically displayed as a progress bar.
Read more >How to make a progress bar in CSS - Alvaro Trigo
Set whatever height and width you need for progress , and give it a border. You'll basically just end up with a rectangle....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It is great to have a possibility to use flex. Any updates, plans?
Setting the width to null seems causes a few rendering issues. I don’t think that it is supported 😃
@oblador instead of using absolute widths, perhaps it would be a nice idea to use the flex system? For example 60% fill: