Comments (6)
I was able to fix this issue by adding
@Published var isPresented: Bool = false {
didSet {
if !isPresented {
DispatchQueue.main.asyncAfter(deadline: .now() + 0.35) {
self.content = AnyView(EmptyView())
}
}
}
}
This will be temporary as I am sure there is a better solution. Just thought it could be helpful to try and narrow down the bug.
from partialsheet.
Hi there, thank you for your feedback, can you please provide an example project? So I can do some test and try to understand the problem?
Thank you
from partialsheet.
from partialsheet.
Yes, just give me the link of a repo, or upload somewhere the code of the example project.
Please make the example project as small as possible in terms of code
from partialsheet.
Done. Sent you invite to private repo. Thx.
from partialsheet.
resolved with version 2.1.2
from partialsheet.
Related Issues (20)
- PartialSheet disappears automatically after Alert is presented
- PartialSheet 3: PSButton action is never called in ListExample
- PartialSheet Crash when using multiple horizontal scroll views HOT 2
- Partial Sheet over tab bar
- The `DragGesture.onEnded(_:)` not be called up. HOT 1
- PartialSheet auto close when openURL in sheet content with `@Environment(\.scenePhase)`
- Could not find module 'PartialSheet' for target 'x86_64-apple-ios-simulator'; found: arm64-apple-ios-simulator HOT 1
- Can't scroll with WKWebView inside the PartialSheet
- TabView over the PartialSheet
- Partial sheet on top of .sheet() gets cut off HOT 1
- How to prevent PartialSheet from closing when clicking on the background or dragging down? HOT 1
- onDismiss in version 3+ HOT 1
- Crash on tap to show the Partial sheet HOT 2
- macOS Support Mentioned in README but Not in Package.swift
- Partial Sheet Not Triggering When Using @Published Variable in ViewModel HOT 1
- Sticky Footer In ScrollView Partial Sheet HOT 1
- Simple partialSheet with type .scrollView doesn't work HOT 1
- Issue in updating the state variable's value within the partial sheet's content
- UIKit can use it?
- How to prevent dismiss on swipe / background tap HOT 1
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 partialsheet.