Shiny bugs in plotly 4.7.0

I have a shiny app in R that uses the plotly package, and it all worked fine. However, now that I’ve updated to version 4.7.0 instead of 4.5.6 there are some serious bugs appearing in R shiny with the plots from plotly.

first of all R now spits out this error:
Warning in origRenderFunc() :
Ignoring explicitly provided widget ID “132c70335626”; Shiny doesn’t use them

and the scaling is wrong. Where with version 4.5.6 the plot scaled itself, with 4.7 I get a scale that is running from -1e+6 to 1e+6 while my data is in the range of -1,00 to 5,00