-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
fix: nested fragments interact thru child fragment manager #6293
Conversation
66045a1
to
45c7a80
Compare
@@ -20,7 +20,7 @@ import { | |||
|
|||
import { Background, ad as androidBackground } from "../../styling/background"; | |||
import { profile } from "../../../profiling"; | |||
import { topmost } from "../../frame/frame-stack"; | |||
import { topmost } from "../../frame"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I remember correctly, the reason for the separate frame-stack
file and import was to avoid circular dependencies. Is this problem fixed now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure but I'll revert that.
// - 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") { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
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. |
Fixes #6292
TODO: review tab fragments' logic with respect to this change (and how did it work so far in the first place).