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

auto=true with textmode=exact produces inaccurate dimensions on load #207

Open
tanc opened this issue Feb 7, 2017 · 1 comment
Open
Labels

Comments

@tanc
Copy link

tanc commented Feb 7, 2017

When combining the with auto and textmode parameters I'm seeing an incorrect width and height on first load. Once the browser is resized the correct dimensions are shown, they are always 20x20.

holder.js/800x355?auto=true&textmode=exact

An example:

pattern_lab_-_pages-basic-page

Then once browser is resized:

pattern_lab_-_pages-basic-page

Note that this is within the Pattern Lab environment so I'm not sure if it applies on a basic static HTML page.

@imsky
Copy link
Owner

imsky commented Feb 7, 2017

interesting bug, will look into it

@imsky imsky added the bug label Feb 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants