Text not visible for panel with itemTemplate since goJS 3.0.17

I have a panel with an itemTemplate and itemArray defined. The panel is placed in a go.Spot Panel:

const panel = new go.Panel(go.Panel.Spot);
panel.itemTemplate = this.createDurationTextPanel();
panel.itemArray = segments;

The itemTemplate defined a Panel which is placed using go.Spot alignment:

private createDurationTextPanel() {
    const textPanel = new go.Panel();
    textPanel.bind(
        new go.Binding("alignment", "", (panel: go.Panel) => {
            return new go.Spot(0, 1, someCalculatedOffsetA, someCalculatedOffsetB);
        }).ofObject());
    const textBlock = new go.TextBlock().bind("text", "",
            (segment) => this.getDurationText(segment));
    textPanel.add(textBlock);
    return textPanel;
}

This worked fine until goJS 3.0.16:
grafik

It doesn’t work anymore since goJS 3.0.17 (also checked with latest 3.0.19):
The alignment binding works (I can see that if I add some static text to the TextBlock).
The text binding is evaluated and returns a value (verified through debugging), but the text are not displayed anymore:
grafik

Any ideas?

I don’t know. When I try this code, it seems to work OK.

myDiagram.nodeTemplate =
  new go.Node("Spot", {
      itemTemplate:
        new go.Panel("Vertical", { alignmentFocus: go.Spot.BottomLeft })
          .bind("alignment", "", d => new go.Spot(1, 1, d.x, d.v))
          .add(
            new go.TextBlock()
              .bind("text", "w", item => item.toString()),
            new go.Shape("LineH", { width: 10, height: 0 })
              .bind("width", "w")
          )
    })
    .bind("itemArray")
    .add(
      new go.Shape({ isPanelMain: true, width: 0, height: 0, strokeWidth: 0 })
    )

myDiagram.model = new go.GraphLinksModel(
[
  { key: 1, text: "Alpha", color: "lightblue",
    itemArray: [
      { x: 0, w: 23, v: 10 },
      { x: 23, w: 17, v: 20 },
      { x: 40, w: 45, v: 15 },
      { x: 85, w: 39, v: 5 }
    ]
   }
]);

Have you set Diagram.renderer?