Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

el.clientHeight == 0, preventing resizing #73

Open
aeoncleanse opened this issue Mar 8, 2021 · 0 comments
Open

el.clientHeight == 0, preventing resizing #73

aeoncleanse opened this issue Mar 8, 2021 · 0 comments

Comments

@aeoncleanse
Copy link

process (Textfit.js:137)
TextFit._this.handleWindowResize (Textfit.js:77)
call (throttle.js:26)
throttled (throttle.js:36)

I have no idea why, but no matter what I do to the parent, or to the Textfit element itself with styles, the element's clientHeight appears to follow a pattern of X, 0, 0, X, 0, 0 etc when resizing a window. Perhaps something to do with the throttler?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant