I have some textfields and text editors inside a VStack inside an HStack inside a scroll View;
Example:
Swift
VStack{
HStack {
/*Some stuff here*/
ScrollView{
/*Some other stuff here*/
LazyVStack{
ForEach(arrayOfelements, id:\.self) { element in
LazyHStack {
ForEach(element.blocks, id:\.self) { block in
VStack {
TextField("placeholder", text: $block.title)
TextEditor(text: $block.body)
}
}
}
}
}
}
}
}
on the iOS and iPad App everything works fine, on the Mac Versione the textfield and the text editors are not editable until I do a right click on one of them, but then same behavior for the others.
Someone have the same problem? Have you a solution?
2
0
1.5k