     span.appendChild prog
 
     updateView = (prg) =>
-      if prg.progress?
+      if prg.progress? and not (min? and prg.progress < min)
         prog.setAttribute 'value', prg.progress
       else
         prog.removeAttribute 'value'

  onDidUpdateProgress: (f) -> @emitter.on 'did-update-progress', f

  # UI elements:
  progressView: (p) ->
    span = document.createElement 'span'
    prog = document.createElement 'progress'
    prog.classList.add 'ink'

    @onDidUpdateStack =>
      span.removeChild span.firstChild
      # find the first determinate progress bar
      # if there is none, use the first one in the stack
      if (global = (@stack.find (p) => p.progress?) ? @stack[0])?
        span.appendChild @progressView global, min: 0.01
      else
        span.appendChild @progressView @create()

    span
