Comments (16)
I am working on this for last 2days but not able to find the reason. I have added some NSLog's to the Example code...
This is what I observed,
2013-08-15 18:57:54.363 RESideMenuExample[7674:907] Home action is called
2013-08-15 18:57:54.377 RESideMenuExample[7674:907] viewDidLoad
2013-08-15 18:57:54.385 RESideMenuExample[7674:907] viewWillAppear
After playing with fast gestures the view disappeared.
Now the view has gone outside of the screen and neither viewWillDisappear nor viewDidDisappear is called..
Now I selected the "Explore" menuItem and the log is below
2013-08-15 18:59:40.589 RESideMenuExample[7674:907] Explore action is called
2013-08-15 18:59:40.596 RESideMenuExample[7674:907] viewWillDisappear
2013-08-15 18:59:40.601 RESideMenuExample[7674:907] viewDidLoad
2013-08-15 18:59:40.604 RESideMenuExample[7674:907] viewWillAppear
2013-08-15 18:59:40.610 RESideMenuExample[7674:907] viewDidDisappear
as far as iOS is concerned the Home viewController is disappeared now and Explore viewController is loaded and displayed, but we are only able to see the RESideMenu viewController.
Have anyone have any idea what going wrong here..
from residemenu.
It looks like this problem only occurs when there a swipe-to-open gesture is present:
[self sideMenu] showFromPanGesture:sender];
Can you confirm that? I've been trying to reproduce it without this code and the issue seems to disappear.
from residemenu.
@romaonthego If we use taps(click on the Navigation Menu) rather than swipe-right gesture then there is no issue.
The issue only exist's only when we use swipe to right gesture and when the swipe is very fast.
[self sideMenu] showFromPanGesture:sender];
this will disable the swipe feature entirely..
from residemenu.
substitute [[self sideMenu] show] for [self sideMenu] showFromPanGesture:sender];
from residemenu.
@LukeLu1263 it don't solve the problem. It just imitating the "menu" functionality.
I might use this only when I don't have the "menu" button or it's navigation set to some other feature of the app.
from residemenu.
- (void)viewDidLoad
{
[super viewDidLoad];
[self addPanGesture:self.view];
} - (void)addPanGesture:(UIView *)view
{
UISwipeGestureRecognizer *swipeGesture = [[UISwipeGestureRecognizer alloc] initWithTarget:self action:@selector(swipeHandler:)];
swipeGesture.direction = UISwipeGestureRecognizerDirectionRight;
[view addGestureRecognizer:swipeGesture];
} - (void)swipeHandler:(UIPanGestureRecognizer *)sender
{
// [[self sideMenu] showFromPanGesture:sender]; // bug
[[self sideMenu] show];
}
from residemenu.
@LukeLu1263 what I mean when It just imitating the "menu" functionality.
user will no longer able to control the gesture animation.
Once the user swipeGesture is recognised the show
selector is called and animation starts and gets completed without any further control on the user part and remain's as static view irrespective of whether user still panning or not.
from residemenu.
Oh! I got it. but this app doesn't made by me. May be the origin maker will solve this problem. what you want, so am I.
from residemenu.
the bug is not only this one. there's another issue that if you call swipeGesture to switching, the demoVC will not call viewDidLoad and if tap item, the demoVC will call viewDidLoad again. Set the demoVC to be the global variable also doesn't work. How can I do? Is it possible that I modify this code by myself?
from residemenu.
This is a major bug. Please fix it. Thanks =]
from residemenu.
This bug is alway there, Please check it out.
from residemenu.
Haha! Try yourself. iOS 7 already came.
from residemenu.
+1, please fix this. Thank you.
from residemenu.
Please fix this issue, the control is awesome. This issue is occurring often in device.
from residemenu.
Awesome fix, thanks a ton!
from residemenu.
Amazing fix, thanks!
from residemenu.
Related Issues (20)
- 3D support like android
- Right or Left menu top of the contentview or overlay HOT 2
- Slinde under navigation bar
- RESide menu presents and then disappears, all Viewcontrollers are taken off the stack
- RESideMenu and Navigation Controller swipe to go back HOT 2
- How to solve the page carleton problem from center to left
- ios 11 A white bar appears on the navigation bar HOT 13
- Not able to tap the menu button on iOS 11 HOT 1
- If i choose not having one of the menu ? CRASH!
- Can't use pan gesture if I Push a new controller HOT 4
- iOS11 issue on slide-over graphic.. HOT 2
- how to adjust safe area insets bottom for toolbar
- Changing Orientation
- If you want only one view forced landscape left orientation, others keep portrait. I need to add some code to 'RESideMenu.m'.
- 完美解决RESideMenu二级界面能侧滑的bug(即在二级页面关闭侧滑菜单功能)
- BUG: UI can't show full screen on iPhoneX . HOT 2
- Container View's frame
- black status bar when open side menu HOT 3
- Side menu keep moving and show white space HOT 1
- problem with iOS 13 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 residemenu.