apexcharts / apexcharts.js

📊 Interactive JavaScript Charts built on SVG
https://apexcharts.com
MIT License
14.41k stars 1.31k forks source link

When using selection zoom, infinite scrolling occurs when forcibly selecting beyond the whitespace #3918

Open younyikim opened 1 year ago

younyikim commented 1 year ago

Description

Steps to Reproduce

example chart : React Chart Demos > Column Charts > Stacked Columns

  1. Select to use "Selection Zoom"
  2. Select the whitespace on the left or right of the chart.
  3. Infinite scroll occur

Expected Behavior

I think dragging should be restricted and no longer possible when reaching the edges on both sides.

Actual Behavior

When using 'selection scroll', scrolling is still possible even when reaching the edges on both sides.

Screenshots

https://github.com/apexcharts/apexcharts.js/assets/73516688/14ce1109-d237-47b4-973c-c8d40b7b4965

Reproduction Link

YGendyInfinity commented 1 year ago

Any solutions?