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

Problem in fitting items when the connection speed is insufficient! #30

Open
OnrCan opened this issue May 23, 2017 · 3 comments
Open

Problem in fitting items when the connection speed is insufficient! #30

OnrCan opened this issue May 23, 2017 · 3 comments

Comments

@OnrCan
Copy link

OnrCan commented May 23, 2017

Hi,

I use bricklayer in my final term project, but there is a distracting problem when the Internet speed is slow. Here're the photos. I hope you will get the problem from screenshots... 😇

brick-1
brick-3

@f
Copy link
Collaborator

f commented May 23, 2017

Hmm, because Bricklayer doesn't know the height of the image which makes it harder to calculate where to put the brick. Will dig into it :)

@Dzoge
Copy link

Dzoge commented Aug 19, 2017

What I did in this case is tapped on the load event of the images and then call redraw() method to reposition the content.

Thought it's not recommended to use this method, based on the docs, it does the trick.

@fladipa
Copy link

fladipa commented Mar 9, 2020

Hi, you can use window load handler instead of document ready.

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

4 participants