edudnyk / solidscroll Goto Github PK
View Code? Open in Web Editor NEWA liberated _ScrollView and _PagingView of SwiftUI.
License: MIT License
A liberated _ScrollView and _PagingView of SwiftUI.
License: MIT License
Hi,
I was checking SolidScroll out to, but unfortunately, when running on Xcode 13.2 and iOS 15.2, it crashed when I ran the demo in the simulator. Is this way unsupported in iOS 15?
wiftUI`closure #1 (Swift.Optional<SwiftUI._ScrollViewProxy>) -> SwiftUI._ScrollOverlayView in SwiftUI._ScrollViewRoot.body.getter : some:
0x1b2a08c64 <+0>: mov x9, x0
0x1b2a08c68 <+4>: ldr x0, [x0]
0x1b2a08c6c <+8>: cbz x0, 0x1b2a08c80 ; <+28>
0x1b2a08c70 <+12>: ldr w9, [x9, #0x8]
0x1b2a08c74 <+16>: str x0, [x8]
0x1b2a08c78 <+20>: str w9, [x8, #0x8]
0x1b2a08c7c <+24>: b 0x1b2ecd6e8 ; symbol stub for: swift_retain
-> 0x1b2a08c80 <+28>: brk #0x1
can this be used in production app ? .. dose it pass apple app review?
Scrolling doesn't work with a mouse wheel. I tried a vertical SolidScrollView
and PagingView
but it didn't work. I tried with a different mouse with the provided demo app, but no luck. Everything works fine with a trackpad, though. Do you know why is this happening?
struct ContentView: View {
var body: some View {
SolidScrollView(.vertical, showsIndicators: false) {
LazyVStack {
ForEach(0 ..< 50, id: \.self) { _ in
Color.blue
.frame(height: 44)
}
}
}
}
}
I'm trying to control a PagingView
with buttons by changing the page binding parameter. The problem is that for some reason, the item that will go outside the screen disappears immediately. When I scroll with the trackpad, everything works fine. Here is a video showcasing the problem.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.