Comments (3)
Hi, I also encounter this problem. Just use
.fixedSize(horizontal: false, vertical: true)
for your view inside a WaterfallGrid(content: id:)
from waterfallgrid.
I encounter this problem, when the grid only has a single row - no matter how many items (e.g landscape on iPad)
Also:
If you rotate the device from landscape to portrait and back to landscape, the items are displayed like expected.
from waterfallgrid.
@lincelon Your comment is really useful, It works well for me. Could you explain why adding that line helps?
from waterfallgrid.
Related Issues (20)
- Getting Cannot convert value of type 'some View' to closure result type '_' HOT 3
- iOS 14 HOT 6
- Can I use in Rxswift?
- Grid missing inside scrollview HOT 2
- Can't see on Canvas, on in Preview Mode HOT 1
- Bound preference ElementPreferenceKey tried to update multiple times per frame HOT 3
- Invalid frame dimension (negative or non-finite) HOT 2
- Use Kingfisher on the waterfall grid
- Cannot find 'WaterfallGrid' in scope
- Grid 1 HOT 1
- Nondeterministic layout bug HOT 5
- The size of the picture is not displayed properly in the waterfall flow HOT 2
- How to solve the lazy loading problem, very stuck HOT 1
- Problem with pagination / Load more
- Span over columns HOT 1
- If there are less than two images to be displayed, nothing will be displayed. HOT 3
- Item sizes are all the same in Column / Horizontal Layout
- unable to show all imgs
- When vertically arranged, it is simply forced to write the width, and it is not really counted into the actual width
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 waterfallgrid.