Comments (12)
Ah yes, good catch.
from viewdeck.
Has this issue been resolved? If not, I'm wondering if a workaround exists, like manually setting the panning mode during a specific center view event like viewWillAppear (which does not fire, but I'm using it as an example anyway).
Would the fix simply be to automatically snap the center view shut if it's dragged within "X" number of points of the left edge during a right-to-left pan? I'm an experienced programmer but new to iOS development, so please forgive my ignorance. Just trying to help!
from viewdeck.
I downloaded the latest version to give it a try, but it doesn't run at all in our project, so I had to go back to the version from a few days before. I haven't had a chance to try to track down the issues to see what's going wrong with it.
from viewdeck.
I'm seeing a similar issue, except that the center view doesn't get enabled when I drag it all the way back to the left then release. I was able to fix it by adding a "x == 0" OR condition to the following line in the "panned:" method.
if ((self.leftController.view.hidden && !leftWasHidden) || (self.rightController.view.hidden && !rightWasHidden) || x == 0) { [self centerViewVisible]; }
from viewdeck.
That fixed the issue for me as well. This issue may be able to be closed at this point once it's regression tested. Isn't open source awesome? Thanks bonebox!
from viewdeck.
Well, after posting that I realized it's not a complete fix because the appropriate delegate methods don't get called. The problem seems to be that it still thinks the left/right views are open. I inserted some hacky code to get it working, but hopefully Tom or someone can do a proper fix.
from viewdeck.
Still seeing this problem. If you drag the center view very slowly to left until it stops at the left screen bound (try to drag it off the left edge), then the center view is still not interactive.
from viewdeck.
Yes, I confirm that the issue is still present.
If you drag the center view to the original position, then the center view is not interactive.
from viewdeck.
anyone have found a solution?
from viewdeck.
Check out the latest update to master (version 1.4.2). Let me know how it works out for you guys.
from viewdeck.
Hi Tom,
just tested and it works fine!
You only have these two lines of code in IIViewDeckController.m that generate warnings because are not used:
BOOL rightWasHidden = self.rightController.view.hidden;
BOOL leftWasHidden = self.leftController.view.hidden;
Thanks for the patch
from viewdeck.
Agreed. This release seems to have fixed the issue. I, too, commented out the offending (unreferenced) variables. Thanks for the fix!
from viewdeck.
Related Issues (20)
- question HOT 3
- Does the category of UIViewController change the color of the title in UIAlertAction when I use UIAlertController ? HOT 2
- Any demo for Swift language on implementing this? HOT 1
- Crash in IIViewDeckController HOT 1
- Right side menu not overlapping on Center Controller HOT 2
- hidesBottomBarWhenPushed not working HOT 1
- Unable to set the width left and right HOT 2
- Not reloading sidemenu HOT 3
- How do I change the transition style? HOT 2
- Forbidden Architectures when using the compiled framework HOT 1
- Is it possible to remove the status bar only in the side menu? HOT 2
- Swipe to close or Cancel side menu is not working. HOT 2
- How to navigate between different viewControllers from Side menu?
- carthage is not support
- [self.viewDeckController openSide:IIViewDeckSideLeft animated:NO]
- The BUG is a bit more HOT 1
- changing origin x of centerViewController.view (I don't need parallax center)
- Disable Outside Click
- Open left bar quickly the app get a crash
- How do I set the rightViewController width?
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 viewdeck.