You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[iOS] ScrollView inside a nested RadSideDrawer incorrect layout #6674
Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):
CLI: 5.0.3
Cross-platform modules: 5.0.5
iOS Runtime: 5.0.0
Plugin(s): nativescript-ui-sidedrawer: 5.0.0
Describe the bug
On iPhone X family (the ones with the notch) having a ScrollView as direct child of nested RadSideDrawermainContent breaks the layout. The first element in the ScrollView is offset from the top incorrectly.
This flat property seems to be causing other problems in my iOS app if it's enabled - so both false and true values seems to be causing different problems. I'll create a new issue for that.
Closing this old report: iOS safe-area layout and the side drawer plugin has changed substantially since NativeScript 5.3, and there's been no repro on a current version. If you still see this on current @nativescript/core, please open a new issue with a minimal repro.
Activity
erjdriver commentedon Jan 26, 2019
Setting the
flatproperty ofActionBarto true - seems to fix the problem.Seems to be related to issue #6788
This
flatproperty seems to be causing other problems in my iOS app if it's enabled - so both false and true values seems to be causing different problems. I'll create a new issue for that.MartoYankov commentedon Feb 5, 2019
@erjdriver I'm investigating the action bar flat mode and it doesn't seem that this issue is connected to it. There is no action bar at play here.
erjdriver commentedon Apr 25, 2019
This problem is still there with 5.3.
The problem is a page with a ScrollView with a child is offset from the top by 50px or so (top-margin). The page also has nativescript-ui-sidedrawer
Doesn't happen first time - but if you navigate away and back again - it does.
Only ios.
More info in issue
ProgressNS/nativescript-ui-feedback#1001
test #1: i commented out the ActionBar and the problem is not there.
NathanWalker commentedon Oct 23, 2026
Closing this old report: iOS safe-area layout and the side drawer plugin has changed substantially since NativeScript 5.3, and there's been no repro on a current version. If you still see this on current
@nativescript/core, please open a new issue with a minimal repro.