Automattic / wp-calypso

The JavaScript and API powered WordPress.com
https://developer.wordpress.com
GNU General Public License v2.0
12.42k stars 1.99k forks source link

Stats: Navigation Header - Hide navigation arrows as appropriate #83142

Open a8ck3n opened 1 year ago

a8ck3n commented 1 year ago

The design spec calls for hiding the left/right navigation arrows if the chart is a single data point.

In my testing, the arrows are not very useful so maybe we could consider hiding them altogether? There presence exposes a bug in which we can scroll the selection out of the chart bounds do to screen size. If we hide them that bug goes away.

Lemeri123 commented 1 year ago

let me try and see how it goes