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

Parent view controller 'cling' to child view controller while dragging #308

Closed
fedorpashin opened this issue Jan 26, 2020 · 10 comments
Closed

Comments

@fedorpashin
Copy link

I add a child view controller using this approach, but in most cases (not all the time) when I'm dragging the child view controller, a parent view controller moves too as if they were connected.

@scenee
Copy link
Owner

scenee commented Jan 28, 2020

Hmmm, it looks an AutoLayout problem between the parent view controller and the child view controller(FloatingPanelController)'s views.

@fedorpashin
Copy link
Author

What can I do to fix this problem? I've tried layoutIfNeeded() and many other methods related to Auto Layout but nothing works.

@scenee
Copy link
Owner

scenee commented Feb 6, 2020

@fedorpashin I need more information about issue. Is it easy to reproduce in the Samples.app?

@fedorpashin
Copy link
Author

Yep, here it is: Samples.zip.

@fedorpashin
Copy link
Author

The same problem with addPanel method.

@scenee
Copy link
Owner

scenee commented Feb 10, 2020

Thank you, @fedorpashin. I will investigate it this weekend.

@scenee
Copy link
Owner

scenee commented Feb 15, 2020

@fedorpashin I acknowledged this problem. It's absolutely an unexpected behavior. Thank you for your cooperation, again. I will try to fix it.

@scenee
Copy link
Owner

scenee commented Feb 22, 2020

@fedorpashin Hi, I confirm this issue is fixed on fix-2nd-panel-pan-gesture branch! Could you try it?

@fedorpashin
Copy link
Author

@scenee Hi, it seems to work well, thank you for resolving this problem! Now waiting for a new pod version :)

@scenee
Copy link
Owner

scenee commented Feb 29, 2020

Glad to hear that 😄! So I closed this issue. And now I've released v.1.7.3! Please try it 👍

[Edited]
I'm sorry that I made a mistake on v1.7.3 so Please use v1.7.4.

@scenee scenee closed this as completed Feb 29, 2020
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