Horizontal Legend Truncating with Multiple Traces

I have a Div with two subplots in it, a scatter and a bar. Now that I’ve added multiple (~20) traces, they are truncating rather than the legend expanding or scrolling. Any ideas?

Note: it seems this behavior only occurs when I put two traces into a legend group. As soon as I comment out that line from each trace, the legend goes back to wrapping inside the given width.

Looks like this is the same as this issue from a year ago: https://github.com/plotly/plotly.js/issues/1913 which is still open. Any progress?