Polkadex-Substrate / Polkadex-Open-Beta

12 stars 3 forks source link

Graphic Zoom IN OUT works wrong #470

Closed Targan23 closed 1 year ago

Targan23 commented 1 year ago

By raising this issue, I agree to the terms and conditions presented by Polkadex here:Terms and Conditions

Description

If you select whatever Time (1 min, 1 hour, etc) and you Use to zoom IN, you can zoom IN indefinitely even if on screen you dont see the result. This leads to you having to zoom OUT the difference so your chart starts to revert.

THIS ONLY HAPPENS WHEN USING THE BUTTONS, not the scroll:

image

It is hard to explain. But try this:

Select 1 day. Zoom IN until the graphic is on the left side of the screen (middle) or until you cannot ZOOM IN + anymore.

image

You will see that CLEARLY you cannot zoom anymore, even if you press Zoom IN +.

Lets say you still press ZOOM IN + 5 times. Nothing happens on the graphic but the countdown goes on.

Now, if you want to ZOOM OUT -, you need to ZOOM OUT - 5 times, then the 6th time it will start to ZOOM OUT on the graphic.

I hope that makes sense.

onchainaddress:{esouQaHBfnppyHJT7kjmk7BhtL3f9HFgNpnHCqqSpYKcGKwb3}

ap211unitech commented 1 year ago

Here is the PR which fixes this issue - https://github.com/Polkadex-Substrate/Polkadex-Orderbook-Frontend/pull/623