https://github.com/mshibanami/edgefadingscrollview
SwiftUI scroll view whose the visibility of the edges is changed depending on the current scroll offset.
https://github.com/mshibanami/edgefadingscrollview
ios macos swift swiftui
Last synced: 4 months ago
JSON representation
SwiftUI scroll view whose the visibility of the edges is changed depending on the current scroll offset.
- Host: GitHub
- URL: https://github.com/mshibanami/edgefadingscrollview
- Owner: mshibanami
- License: mit
- Created: 2022-08-14T09:48:36.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2025-07-23T09:05:22.000Z (11 months ago)
- Last Synced: 2025-11-21T14:16:07.850Z (7 months ago)
- Topics: ios, macos, swift, swiftui
- Language: Swift
- Homepage:
- Size: 31.3 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# EdgeFadingScrollView
This is a SwiftUI scroll view whose the visibility of the edges is changed depending on the current scroll offset.
## Demo
### macOS
https://user-images.githubusercontent.com/1333214/187050231-c7e2c417-904f-4349-a5cf-164edbe0e23d.mov
### iOS
https://user-images.githubusercontent.com/1333214/187050236-b106f529-7ff4-47dd-9b0d-b98ae238c808.mov
## Apps that use this package
- [Redirect Web for Safari](https://apps.apple.com/app/id1571283503)
## References
- https://fivestars.blog/swiftui/scrollview-offset.html