nbpresent icon indicating copy to clipboard operation
nbpresent copied to clipboard

Resizing doesn't seem to re-flow content

Open ijstokes opened this issue 8 years ago • 1 comments

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.

ijstokes avatar Apr 28 '16 11:04 ijstokes

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 [email protected] 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

bollwyvl avatar Apr 28 '16 13:04 bollwyvl