fragment-index and code-line-numbers

I'm creating some revealjs slides using quarto and I would like to combine #| code-line-numbers: ... with :::{.fragment .fade-in-then-out fragment-index=...} to have text appear as code chunks are highlighted. But I can't seem to get this to work. It appears that data-fragment-index is being set to 0 in my fragment div, regardless of how I set either fragment-index or data-fragment-index in the qmd file. For example,

:::{.fragment .fade-in-then-out fragment-index=1}
:::

yields

<div class="fragment fade-in-then-out visible current-fragment" data-fragment-index="0">
</div>

Is this not possible? Is this a bug? Am I just not doing something correctly.

Note: I can manually edit the HTML to get the divs to reveal at the right time, but I want this to be controlled from within quarto, if possible.