fitzroyacademy / web-app

The main web app
0 stars 0 forks source link

Lesson - Reload / re-jig the chart upon hiding sidebars? #52

Open willdayble opened 5 years ago

willdayble commented 5 years ago

To replicate: On the lesson view, hit the "hide" button [data-fit-minright] on the sidebar twice (to hide, and then unhide).

The chart seems to set its width on page load, so we might need to reload it, or re-trigger it's 'draw' thing when the user changes the width of the inner area?

It does it fine on changing the window size.

Yuffster commented 5 years ago

Good report, I'll look into it.