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 not shown #261

Open
thebravoman opened this issue Jul 7, 2017 · 4 comments
Open

Progress not shown #261

thebravoman opened this issue Jul 7, 2017 · 4 comments

Comments

@thebravoman
Copy link

I've tried with

<script id="template-upload" type="text/x-tmpl">
<div class="upload">
  {%=o.name%}
  <div class="progress progress-striped active"><div class="bar" style="width: 0%"></div></div>
</div>
</script>

and with

<div class="upload js-progress-bars">
				  <div class="progress">
				    <div class="bar"> </div>
				  </div>
				</div>

Doesn't matter. I both cases the progress is not shown.

Could you assist me?

@thebravoman
Copy link
Author

Just a large white line shown for the whole 100%. But only that. Progress is not tacked.

@thebravoman
Copy link
Author

thebravoman commented Jul 7, 2017

It immediately gets to 100% with while the file is still uploaded and the with is updated.

I can see the file is uploaded from "Inspect" and see how the % is changed, but the progress looks all the same.

@thebravoman
Copy link
Author

Having a class "bar" is not correct. The class should be named progress-bar for the progress to be visible but then the width is not changed.

@thebravoman
Copy link
Author

I've added an ugly hack here with the progress bar having both progress-bar and bar classes for this to work.

<script id="template-upload" type="text/x-tmpl">
					<div class="upload">
					  {%=o.name%}
					  <div class="progress progress-striped active"><div class="bar progress-bar" style="width: 0%"></div></div>
					</div>
					</script>

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

No branches or pull requests

1 participant