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
[progressbar]: add support for variable width #497
Comments
@badimon says that there's no real reason to not allow it to be flexible, but I'll need to dig into the indeterminate keyframes and styles. @snowystinger do you have any specific use cases I could use to test out a different width? |
@GarthDB I do not know, but the conversation was here https://adobe.slack.com/archives/C7N5BE1EW/p1579716339061800 |
An example that seems to be doing it with just |
FYI, just got back from a dive into css animation performance, we probably don't want to use left/right, it's apparently a general no no or constant fill size but variable bar size https://jsfiddle.net/snowystinger/fpzxk6s7/2/ |
@pfulton Do you know if this is still an outstanding question or has this issue been resolved during our rework of the component? |
@castastrophe with the new tokens definition, it looks like Design has specified that this component should have I don't know if that fully addresses the topic of conversation here, but it's an answer! |
@pfulton Thank you so much! I'll close this out but @snowystinger, feel free to reopen if needed. |
Description
Bar loaders should support any width. It seems like we could specify all sub parts as percentages.
Why do you need this feature or component?
Someone asked how to do this with an indeterminate loader and was given the response that they must create their own styles and keyframes.
Additional context
I'm not sure if this is intentional, if so, then we should probably document it on the spectrum site or here.
synced to jira: https://jira.corp.adobe.com/browse/CSS-132
The text was updated successfully, but these errors were encountered: