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

Progress value is not updated: Progress always stays indeterminate #94

Closed
saravanabalagi opened this issue Mar 31, 2021 · 0 comments · Fixed by #95
Closed

Progress value is not updated: Progress always stays indeterminate #94

saravanabalagi opened this issue Mar 31, 2021 · 0 comments · Fixed by #95

Comments

@saravanabalagi
Copy link
Contributor

<Progress type="is-primary" value="65" max="100"></Progress>

translates to

<progress class="progress is-primary" max="100">60%</progress>

This is equivalent to setting no value attribute but with a child text node containing some text, as shown in bulma indeterminate section. Hence it displays an indeterminate progress bar with no value set even when I pass in a value attribute to the Progress svelma component.

This can be confirmed when you remove the child text node manually (using browser's debugging tools), the progress bar still displays the value.

image
image

But the same is not valid when you remove the value attribute and keep the child text node

image
image

@saravanabalagi saravanabalagi changed the title Progress value is not update: Progress always stays indeterminate Progress value is not updated: Progress always stays indeterminate Apr 6, 2021
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 a pull request may close this issue.

1 participant