Flowtype is not updating when it maximizes/restores window

Asked

Viewed 80 times

2

Flowtype is not updating the correct font size when I load the page without the window being maximized and maximized. When the window is maximized the font appears in the size it should be when it was not maximized. And if I restore it so it doesn’t maximize, the font gets the size it should be when maximized. If I resize the window with the mouse on the edges the Flowtype works well. Would that be a bug or am I doing something wrong in Javascript? I am calling Flowtype when the page is loaded, if I move the code to when the window is resized Flowtype does not work.

1 answer

1

Apparently the bug was removed in version 1.1. Update the version.

Edit:

Now I don’t know if version 1.1 actually fixes it or not. But I was able to eliminate the problem by calling Flowtype with the same options in onload event and resize event.

  • From what source did you get this information?

  • I simply saw that there was a newer version, and tested it. In my test there is no bug anymore. https://github.com/simplefocus/FlowType.JS

  • Strange, sometimes the problem and sometimes not. If I call the flowtype in the events onload and onresize works smoothly.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.