Comments (11)
@jhk115 I agree, and for most of the part I believe we all do that. But @ivanvorobei has done an amazing job with possibilities for height customization, close button, indicator, etc. which makes us prefer to use this library.
from spstorkcontroller.
This is happening because SPStorkPresentationController
containerViewWillLayoutSubviews
is setting the presented view controller's frame to frameOfPresentedViewInContainerView
when pan gesture changed.
from spstorkcontroller.
If you guys have the luxury to target iOS 13, I recommend just rolling with the native modal. It was a painless switch.
from spstorkcontroller.
У меня аналогичная проблема в iOS 14. Будет ли исправление данного бага?
from spstorkcontroller.
the same
from spstorkcontroller.
I can confirm this is also happening for me on ios 14. For me, the scroll view itself seems to be "stuck". Scrolling up does not scroll the view anymore.
from spstorkcontroller.
It's also happening to me, you can only see the indicator that it's moving and the opacity behind the screen is being reduced. It just dimissess the view controller if dragged down enough.
from spstorkcontroller.
@jhk115 agree
from spstorkcontroller.
It's also happening to me only on iOS 14, solved my problem after setting it
if #available(iOS 11.0, *) {
tableView.contentInsetAdjustmentBehavior = .never
} else {
automaticallyAdjustsScrollViewInsets = false
}
from spstorkcontroller.
@ivanvorobei Any updates?
from spstorkcontroller.
This is happening because
SPStorkPresentationController
containerViewWillLayoutSubviews
is setting the presented view controller's frame toframeOfPresentedViewInContainerView
when pan gesture changed.
Comment out these few lines fixes the problem. @tibo9 Did you find any side effects doing so? Thanks in advance.
from spstorkcontroller.
Related Issues (20)
- Error with updatePresentingController(modal: HOT 1
- Freeze previous screen HOT 4
- Nav title label overlapping close button iphone SE (minor) HOT 4
- Hide StorkController while present animating HOT 3
- Empty space HOT 1
- Interruption of cell animation in parent controller HOT 3
- Add please willDismissStorkBySwipe and willDismissStorkByTap HOT 2
- Full screen presentation HOT 1
- How to dismiss on my created button click ? HOT 2
- Limit StorkController to half screen HOT 1
- Transition Bug (formSheet) / Screenshot HOT 4
- Swipe up to open fully HOT 1
- speed of dismiss transition HOT 1
- [Assert] Unsupported code path for UIScene-based application.
- Stack
- background color
- Custom Height after presenting controller.
- UITableView cells transform in scrollViewDidScroll breaks layout
- Can't integrate pod in objective-c project HOT 10
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 spstorkcontroller.