Comments (2)
Yes, you have the backgroundColor argument:
public func partialSheet<SheetContent: View>(
presented: Binding<Bool>,
backgroundColor: Color = Color(UIColor.tertiarySystemBackground),
handlerBarColor: Color = Color(UIColor.systemGray2),
enableCover: Bool = true,
coverColor: Color = Color.black.opacity(0.4),
view: @escaping () -> SheetContent )
Anyway I've just pushed a new version with a default system color for dark mode.
from partialsheet.
how can we change background color if we present sheet via self.partialSheetManager.showPartialSheet
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.