Comments (10)
Thanks for pointing this out. It seems that it is related to setting width in percentage, i.e. if you set a fixed width (e.g. 200px) it works fine..
I'll be looking into this one, thanks
from freetile.
I am also trying to columns/images with a percentage width.
Is that possible?
from freetile.
One thing I noticed creating my em-based grid, was that Freetile had problems if the em-width couldn't be converted to exact pixel dimensions. For example, if 1 em is 16 px, and the tile width is 1.666 em.
Using percentages for widths, it would be easy to end in situation like this.
from freetile.
I don't know whether anyone resolved this, but I am also having the same problem. The solution I came to was to simply fire the layout function twice as shown below. This doesn't seem very elegant, but is a quick, easy fix. Any other developments out there on this issue?
target.freetile().freetile('layout')
from freetile.
elihorn - I tried your solution - But - The solution you proposed fixed an issue in ie9 but broke freetile in ie10 and ie8 in my case - I've never had issues in decent browsers. People might want to add that to their list of tests while implementing.
from freetile.
Hello Yannis, have you any news about this bug to give us ?
from freetile.
@VincentFTS Not really. Tried @desandro's getSize to circumvent this but it broke some stuff so I had to let it go.
from freetile.
Any news on this?
from freetile.
I was able to get it working by doing a 'layout' call after a timer. Something like this:
setTimeout(function() {
$('.section').freetile('layout');
}, 1000);
-Jason
from freetile.
I know this is an old post but the issue persists and I found a cleaner way to call layout
:
target.freetile({
callback: function(){
target.freetile('layout');
}
});
from freetile.
Related Issues (20)
- Plugin "contentToAppend" throws an error. HOT 2
- Reset FreetilePos when container is emptied. HOT 2
- Removing tiles. HOT 1
- Any plans to add x/y positioning via css translate 3d? HOT 2
- Freetile with iframe HOT 1
- Resizing does not work correctly HOT 1
- Wrong measurements with Bootstrap 3.1 HOT 1
- Feature req: Missing calculation for last row, and option for direction (LTR or RTL) HOT 3
- NPM/Bower packages HOT 1
- Retiling not triggered when maximising browser HOT 1
- Retiling not triggered when orientation change on iPad HOT 2
- Disable images loaded by default HOT 1
- yConst Forum doesn't work - at all!!!
- Question: Vertical Offset HOT 2
- Responsive content if set a fixed point of begin
- How to append items HOT 6
- Rotate elements HOT 1
- Working with video HOT 1
- Demo link is broken HOT 1
- Consideration for positioning elements with similar widths together vertically
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from freetile.