Comments (3)
Thank you for your report and comment :) I'll check this with the attached source code.
from floatingpanel.
Hi ! Thank you very much for the reply 🥹
We are really looking forward it with our team 🫂
from floatingpanel.
@JelliedFish
Thanks to your sample projects, I could fix this issue. The fix has been merged into the master branch already. I'm going to release it in version 2.8.4.
Additionally, I found the problem in TestFloatingPanel is that the animation around .tip state is choppy. I’ve also encountered this same issue before, but it was not on the library side. This can be fixed with the following patch to change the AutoLayout priority. Thanks.
diff --git a/TestFloatingPanel/PanelContentViewController.swift b/TestFloatingPanel/PanelContentViewController.swift
index b218448..ec56cf4 100644
--- a/TestFloatingPanel/PanelContentViewController.swift
+++ b/TestFloatingPanel/PanelContentViewController.swift
@@ -73,8 +73,9 @@ class PanelContentViewController: UIViewController {
stackView.bottomAnchor.constraint(equalTo: view.bottomAnchor)
])
- headerLabel.heightAnchor.constraint(equalToConstant: 60).isActive = true
-
+ let const = headerLabel.heightAnchor.constraint(equalToConstant: 60)
+ const.priority = .defaultLow
+ const.isActive = true
}
}
from floatingpanel.
Related Issues (20)
- Transition to layout with a single anchor breaks panel behavior HOT 2
- Dismiss action does not remove contentViewController? HOT 2
- I can't find version 2.8.0 in pod search
- Extend or override backdropview HOT 5
- cannot respond to the didSelectItemAt | didSelectRowAt method
- Change backdropAlpha for FloatingPanelLayout blocks parent ViewController
- Small Devices (iPhone SE) Library won't add space for grabber HOT 3
- Second floating panel doesn't update to width of landscape view HOT 3
- SWIFTUI supports
- Is it possible to disable attraction between anchors? HOT 1
- Any support of Privacy Manifest? HOT 2
- 【Fixed】iPhone SE 2nd scroll lock HOT 1
- [SwiftUI] UIViewControllerRepresentable HOT 1
- Adaptive Layout doesn't work with compositional layout of collection view HOT 4
- Tracking WebView is broken in iOS 17.4.x HOT 6
- SWIFTUI - scroll issue
- Release 2.8.2 presents error in Xcode 16 beta: 'CALayerCornerCurve' is only available in iOS 13.0 or newer HOT 2
- Crash in file Core.swift
- FloatingPanel is not able to be interacted with when added to a UIHostingController in Xcode 16 beta with iOS 18 beta.
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 floatingpanel.