Zooming depth chart doesn't behave as expected
johnwalley opened this issue · 1 comments
johnwalley commented
Description
Zooming appears to be centered on the initial mid price and does not reflect the current mid price.
Steps to Reproduce
I think if you just load the page, go to the depth chart, and then leave it for a few minutes. Then zoom in after the mid price has changed, you will see this issue.
Expected behavior
Zooming should always be centered on the mid price. Should the mid price always be centered more generally? Yes, it should.
Screenshots
Device details
Any device, OS and browser.
Additional context
Reported by Lewis.
johnwalley commented
It looks like a bug in the frontend-monorepo. See vegaprotocol/frontend-monorepo#1883 for details.