fix: nested fragments interact thru child fragment manager#6293
Merged
Conversation
66045a1 to
45c7a80
Compare
ADjenkov
approved these changes
Sep 27, 2018
MartoYankov
reviewed
Sep 27, 2018
| import { Background, ad as androidBackground } from "../../styling/background"; | ||
| import { profile } from "../../../profiling"; | ||
| import { topmost } from "../../frame/frame-stack"; | ||
| import { topmost } from "../../frame"; |
Contributor
There was a problem hiding this comment.
If I remember correctly, the reason for the separate frame-stack file and import was to avoid circular dependencies. Is this problem fixed now?
Contributor
Author
There was a problem hiding this comment.
Not sure but I'll revert that.
MartoYankov
reviewed
Sep 27, 2018
| // - tabview -> frame1 (frame1 uses tabview item CHILD fm) | ||
| // - frame1 -> tabview (tabview uses frame1 CHILD fm) | ||
| // - frame1 -> tabview -> frame2 (tabview uses frame1 CHILD fm; frame2 uses tabview item CHILD fm) | ||
| if (view.typeName === "Frame" || view.typeName === "TabView") { |
Contributor
There was a problem hiding this comment.
I think the typeName will be wrong (and won't work) with uglify. The other property cssType that is set via the decorator might work, but it doesn't look right to use it.
What do you think about having a method _hasFragments() that returns true for TabView and Frame ?
be7c007 to
9831312
Compare
858ef79 to
0e498a7
Compare
MartoYankov
approved these changes
Oct 9, 2018
407bcd9 to
abc3f1c
Compare
29b533b to
bf0865a
Compare
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #6292
TODO: review tab fragments' logic with respect to this change (and how did it work so far in the first place).