anaconda / nbpresent

next generation slides for Jupyter Notebooks
BSD 3-Clause "New" or "Revised" License
164 stars 24 forks source link

Resizing doesn't seem to re-flow content #68

Open ijstokes opened 8 years ago

ijstokes commented 8 years ago

See this screencast:

http://screencast.com/t/7ltl4z9pK

Resizing the window doesn't re-flow the content, it just expands outside of the view port.

Going forward a slide and then back (at the "increased font size") causes a re-flow so the content looks fine.

It would be nice if the re-flow could happen immediately.

bollwyvl commented 8 years ago

Yeah, we can listen for resize. It will have to be debounced, as our layout/theme mechanism is not cheap... So it will be perhaps 200ms after you stop resizing. Indeed, we might want the resize to update a modeled version of screen measurements, and just have the rerender be a watcher on that.

On 07:43, Thu, Apr 28, 2016 Ian Stokes-Rees notifications@github.com wrote:

See this screencast:

http://screencast.com/t/7ltl4z9pK

Resizing the window doesn't re-flow the content, it just expands outside of the view port.

Going forward a slide and then back (at the "increased font size") causes a re-flow so the content looks fine.

It would be nice if the re-flow could happen immediately.

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/Anaconda-Platform/nbpresent/issues/68