Comments (3)
After installing pod 'GuillotineMenu', '~> 3.0'
In GuillotineMenuTransitionAnimation.swift file
Replace Function
func setupContainerMenuButtonFrameAndTopOffset() {
topOffset = supportView!.frame.origin.y + supportView!.bounds.height
let senderRect = supportView!.convert(presentButton!.frame, to: nil)
containerMenuButton?.frame = senderRect
}
With Below Function
func setupContainerMenuButtonFrameAndTopOffset() {
if let supportView = supportView, let presentButton = presentButton {
topOffset = supportView.frame.origin.y + supportView.bounds.height
let presentButtonFrame = presentButton.convert(presentButton.bounds, to: supportView)
let senderRect = supportView.convert(presentButtonFrame , to: nil)
containerMenuButton?.frame = senderRect
}
}
from guillotinemenu.
This solution worked!
from guillotinemenu.
@Hugo75002 Hi, thanks for your report! Please try the latest version of our framework, it should contain a fix for this issue. Let me know if its not.
from guillotinemenu.
Related Issues (20)
- Button Frame very small HOT 1
- Swift3 HOT 3
- Dismiss animation is not fast enough HOT 7
- Dismiss Menu HOT 2
- When adding constrain on button on menu controller in ios 10 , menu goes down HOT 2
- How to open a new view controller on menu item click? HOT 1
- duration time and spring effect! HOT 2
- iPhone 6S leaning screen HOT 3
- how to change height of menu drawer HOT 1
- Menu UIButton -> UIBarButtonItem HOT 3
- how to support for iPad ? HOT 2
- Images get Shrinked for almost 2 seconds HOT 1
- Not Working with UITabBarController HOT 2
- Use of unresolved identifier in ViewControllerTransitioningDelegate HOT 2
- UIView doesn't work for 1-2 sec and shrinks after that HOT 1
- Preview not working HOT 7
- Please help me HOT 1
- not able to navigate back from menu HOT 1
- How to give showmen segue? 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 guillotinemenu.