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

IOS layout bug #10398

Open
3 tasks done
kkhalilov opened this issue Oct 8, 2023 · 0 comments
Open
3 tasks done

IOS layout bug #10398

kkhalilov opened this issue Oct 8, 2023 · 0 comments
Labels
bug-pending-triage Reported bug, pending triage to confirm.

Comments

@kkhalilov
Copy link

Issue Description

The example below shows 3 variants (in zip file).
1 - if you just wait for the loading to complete and be at that moment on the page where the content is being rendered, then everything is displayed correctly
2 - if at the moment before the content is rendered, go to another page, the content will break
3- if you immediately go to another page and wait until the content is loaded on the previous one, then the content looks normal

BUG: If you go to another page at the moment when the content starts to render, it will break the layout

This only happens if the content is wrapped in a ScrollView

Template structure (nativescript-vue)

<Page>
     <GridLayout>
       <ScrollView>
         <StackLayout>
             ....Content...
         </StackLayout>
       </ScrollView>
     </GridLayout>
   </Page>

Item structure

<GridLayout columns="76, *">
    <StackLayout col="0"></StackLayout>
    <StackLayout col="1"></StackLayout>
  </GridLayout>

2023-09-06_20.20.244.mov.zip

Reproduction

No response

Relevant log output (if applicable)

No response

Environment

OS: macOS 13.3.1
CPU: (10) x64 Apple M1 Pro
Shell: /bin/zsh
node: 15.8.0
npm: 7.5.1
nativescript: 8.5.3

# android
java: 11.0.18
ndk: Not Found
apis: Not Found
build_tools: Not Found
system_images: Not Found

# ios
xcode: 14.2/14C18
cocoapods: 1.12.1
python: 2.7.18
python3: 3.9.10
ruby: 2.7.8
platforms: 
  - DriverKit 22.2
  - iOS 16.2
  - macOS 13.1
  - tvOS 16.1
  - watchOS 9.1

Dependencies

"dependencies": {
  "@nativescript/core": "^8.5.9",
  "@nativescript/theme": "~3.0.2",
  "nativescript-vue": "~2.9.3"
},
"devDependencies": {
  "@nativescript/android": "8.5.0",
  "@nativescript/ios": "8.5.2",
  "@nativescript/webpack": "~5.0.14",
  "nativescript-vue-template-compiler": "~2.9.3"
}

Please accept these terms

@kkhalilov kkhalilov added the bug-pending-triage Reported bug, pending triage to confirm. label Oct 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-pending-triage Reported bug, pending triage to confirm.
Projects
None yet
Development

No branches or pull requests

1 participant