chinmaymk / angular-charts

angular directives for creating common charts using d3
MIT License
1.03k stars 270 forks source link

Mobile issue - charts re-draw when scrolling due to page height change #194

Open mussrya opened 9 years ago

mussrya commented 9 years ago

On some mobile devices when scrolling down the page the browser URL bar is hidden, as a result this is treated as a page height change which causes the charts to redraw.

Ideally the segment of code responsible for redrawing charts should only trigger when the page width changes and not the height, either as a configurable option or by default.

hernancete commented 9 years ago

I have experienced the same behaviour. Is there any solution for this? Thanks in advance.

atentis commented 9 years ago

I have as well