More than one layout child inside a ContentView [IOS] [tns-core-modules 4.0.0]
See original GitHub issueFrom @pvcoelho on January 26, 2018 12:10
Having inside the component’s .html file both RadSideDrawer and GridLayout elements, when trying to run the app in IOS, it fails with the following error: More than one layout child inside a ContentView Although in Android everything runs fine.
- Progress NativeScript UI version: “^3.2.0”
- CLI: 4.0.0-2018-01-15-10407
- Cross-platform modules: “^4.0.0-2018-01-08-02”
- Runtime(s):
"tns-ios"
: “4.0.0-2018-01-17-01”
Code files:
items.component.html:
items.component.ts:
Copied from original issue: telerik/nativescript-ui-feedback#503
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Nativescript: More than one layout child inside a ContentView
You must use one of the Layouts (Stack, Grid, Flex, Dock, Wrap, Absolute) if you want to hold more than one child component....
Read more >tns-core-modules | Yarn - Package Manager
Fast, reliable, and secure dependency management.
Read more >How layout works in SwiftUI - a free Hacking with iOS
All SwiftUI layout happens in three simple steps, and understanding these steps is the key to getting great layouts every time.
Read more >Arranging Views with Xamarin.Forms Layout - CODE Magazine
Although they can contain multiple child items, there's no good reason to have more than one child in these layouts.
Read more >Source - GitHub
queueGC debounce and throttle with reuse of different settings ... **ios:** tabview background color with appearance api in iOS 15+ ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Problem solved:
I’ve moved the content of the GridLayout/ListView inside the RadSideDrawer with the tag tkMainContent (after the menu declaration):
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.