Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

right/left menu movement delay with pan gesture #8

Open
amitsaxena688 opened this issue Jan 20, 2014 · 2 comments
Open

right/left menu movement delay with pan gesture #8

amitsaxena688 opened this issue Jan 20, 2014 · 2 comments

Comments

@amitsaxena688
Copy link

panning from the edge of screen brings the menu after some delay.
menu right/left does not move with the pan gesture.it comes little later

@amitsaxena688
Copy link
Author

Any guidance for this would be a great help.can anyone guide how can i fix it ?

@matthewcheok
Copy link
Owner

The delay is mainly due to way the panel captures the background image to apply the image blur in advance. It does this exactly once, when the gesture is triggered or when opened programatically, and then crops the image using UIView content modes, to show only the relevant parts obscured by the panel.

If you are using iOS 7, it's possible to get faster performance using some of the more "hack"-ish techniques (like stealing the CALayer of a UIToolbar), however, you lose the ability to specify the strength of the blur (required to match the look of notification or control center.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants