Comments (5)
@anoels it might if it's an async operation. Do you have the same error when using SwiftUI.Image
?
from swiftui-grid.
It works fine with SwiftUI.Image. However, it seems like, this time, it also collapses if I add more view into the same Scrollview.
from swiftui-grid.
In my case, this happens only if the grid has only 1 element to show.
from swiftui-grid.
It happens for me too. Whenever, I come to the view for the second time, the layout collapses.
from swiftui-grid.
It is because of the current version of the Swift that you are using. If you want, you can give it a try to the beta version of the XCode.
from swiftui-grid.
Related Issues (20)
- Allow custom styles HOT 1
- Wrapping grid in an explicit frame breaks layout
- more data HOT 3
- Problem with custom scroll view
- Highlight Multiple Grid Items with Preferences? HOT 1
- setting a max number of posts for a Category HOT 4
- Layout breaks when Grid is placed inside a ScrollView that is not within a NavigationView HOT 2
- Layout breaks when you swipe left or right in vertical modular grid
- iPad split view layout fail
- Layout wrong no matter what style I use
- StaggeredGridStyle layout breaks when placed in a scrollview with other view HOT 1
- How to set spacing between the cells?
- Grid always in the center
- Grid Reordering
- Replace demo apps with SwiftUI previews
- Adopt availability API
- Layout breaks on rotation at the bottom of scrollview
- Track.min causes division by zero HOT 1
- Scroll both vertically and horizontally same time HOT 4
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 swiftui-grid.