WebGL scatter plots not rendering on new M1 Mac in Chrome or Safari

Facing same issue since a while. Haven’t got any solution. But it only happens if the x-axis values are greater than 2^24. Reference to the issue I have reported: Plotly fails when using "scattergl" and value greater than 2^24 [Only on M1 Chip]