Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/boscojwho/lazygridbugexample
Demo bug where alert on LazyVGrid item doesn't capture the correct data value using various APIs, and shows workaround.
https://github.com/boscojwho/lazygridbugexample
swiftui
Last synced: 12 minutes ago
JSON representation
Demo bug where alert on LazyVGrid item doesn't capture the correct data value using various APIs, and shows workaround.
- Host: GitHub
- URL: https://github.com/boscojwho/lazygridbugexample
- Owner: boscojwho
- Created: 2024-08-22T23:34:14.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-08-22T23:52:48.000Z (4 months ago)
- Last Synced: 2024-12-25T18:41:48.276Z (12 minutes ago)
- Topics: swiftui
- Language: Swift
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Poking around a possible(?) bug in SwiftUI's LazyVGrid, where the `.alert` modifier captures incorrect data values, along with a workaround.
The main code is contained in `ContentView`.
For more info, see inline comments in code.