Comments (5)
@ste57 Thanks! This fixed my issue
var anchorModalToLongForm: Bool {
return true
}
from panmodal.
Hi @vkosmirak
Could you provide the rest of your PanModal configuration?
Stephen
from panmodal.
Closing out this issue for now, feel free to reopen if this continues to be an issue.
from panmodal.
Hey @ste57, sorry for late response. Can't find a reopen button, but will describe my scenario here:
Can't align view to the bottom of the poped controller.
Example:
- Open PanModel Demo
- AlertViewController.swift
- Replace coresponeded lines to new:
alertView.bottomAnchor.constraint(equalTo: view.bottomAnchor).isActive = true
var shortFormHeight: PanModalHeight {
return .contentHeight(500)
}
var longFormHeight: PanModalHeight {
return .contentHeight(500)
}
- What we did here - align
alertView
to the bottom instead of the top - The problem is - this view is not visible
- Sometimes we need to align view to bottom, when there is no scroll container inside
And the question is - is there any workaround for that?
from panmodal.
Hi @vkosmirak
So it looks like anchorsToLongForm
may be false
here. Can you make sure this property is set to true
in the implementing view controller - this should allow you to anchor the alertView to the bottom of the view
from panmodal.
Related Issues (20)
- Is this code base still maintained? HOT 1
- Pan modal with fixed view bottom HOT 3
- longFormHeight for below iOS 15 is not working properly
- touch for Background/presentator view is not working
- How can i prevent long form to transition to short form when i scroll over top?
- Cannot select or scroll the collectionview embedded in modal?
- Delete space between TableView top anchor and tableHaderFooterViews top HOT 1
- Not Animated transition from .long to .short HOT 2
- It sometimes change presentedView's origin(unwanted behavior)
- iPad display is not supported
- Is bugs from full screen navigation controller in iPhone 14 series? HOT 1
- How can i prevent long form to transition to short form when i scroll over top?
- Ignoring PanModal.framework because it does not support the current architecture HOT 1
- App get crashed while interacting with scrollview - PanModal. HOT 1
- Calls viewDidLoad again when dismissed if base navigation controller is presented by a tab bar
- 可以调整基于堆栈二级页面的高度吗?
- Unnecessary view will/did appear/disappear calls?
- Not working with iOS 17.1+ HOT 18
- PanModal with TabBar
- 当设置的高度较小的时候,列表根本无法滚动,必须滚到最大高度时,列表才能滚动
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 panmodal.