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: Actionbar Flat property not aligning the content of the page correctly after setting it to true #6063
When setting the Actionbar property flat to true, this gives weird aligning of the content, the content falls back behind the actionbar and the content needs margin top to move the content down.
Which platform(s) does your issue occur on?
iOS
Please provide the following version numbers that your issue occurs with:
CLI: 4.1.2
Cross-platform modules: 4.1.0
Runtime(s): TNS-ios: 4.1.1
Plugin(s): N/A
Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.
It seems to be a problem when defining a transition to the routerextension.navigate function.
If we remove the transition we add then it works as expected.
Hi @btaluy,
I tested your case on my side, however, was unable to recreate the issue. I am attaching a link to the NativeScript Playground project. Please review it and make the needed changes, which will help us to recreate the problem.
HI @btaluy,
I tested the issue in a sample NativeScript Angular project, however, I am still unable to recreate the problem. Please review the attached project and make the needed changes, which will allow us to reproduce the problem. Archive.zip
Try again with NativeScript 5.2. The issue I had (gap below flat ActionBar) has been resolved, so some work has gone into the NS 5.2 flat Action Bar handling.
@MartoYankov I've tried it with v5.2.1, 5.2.2 and the most recent release candidate. The issue persists. For us, we have a stacklayout wrapping our page-router-outlet. I saw on another issue thread someone saying that they had the same use case and issue, although I can't seem to find that thread now.
For now, our team has decided to change the action bar flat="false", and change our styling such that we aren't bothered by the non flat action bar. The only time the page doesn't lay out correctly is when the action bar flatness is set to true.
@harryt04 Flat bars have been a nightmare. However, this issue has been fixed in 5.2.1 and we have found out that it returned with 5.2.2. Here is the new issue that was opened - #7065. If this is not the issue you are experiencing, please open a new one. If you can attach a playground with a simple example that demonstrates your setup, it would be great.
Activity
tsonevn commentedon Jul 13, 2018
Hi @btaluy,
I tested your case on my side, however, was unable to recreate the issue. I am attaching a link to the NativeScript Playground project. Please review it and make the needed changes, which will help us to recreate the problem.
btaluy commentedon Jul 13, 2018
I forgot to mention that I am using nativescript-angular @tsonevn
tsonevn commentedon Jul 16, 2018
HI @btaluy,
I tested the issue in a sample NativeScript Angular project, however, I am still unable to recreate the problem. Please review the attached project and make the needed changes, which will allow us to reproduce the problem.
Archive.zip
tsonevn commentedon Jul 25, 2018
closing due to inactivity
YoussefGheith commentedon Sep 6, 2018
Same problem for me
btaluy commentedon Oct 22, 2018
@tsonevn Any news on this issue?
tsonevn commentedon Oct 23, 2018
Hi @btaluy,
This issue should be fixed with NativeScript 5.0
JakubPawlak commentedon Nov 6, 2018
Unfortunately, it hasn't been fixed. This is the simple Playground to show the case: https://play.nativescript.org/?template=play-ng&id=CBt1Ou
The problem appears when the is wrapped in any layout.
b4rtt commentedon Nov 24, 2018
Same problem here.
First screenshot is with flat=false and second one is with flat=true...
https://imgur.com/a/OhMtRGT
marcelomiranda90 commentedon Dec 13, 2018
+1
demetrio812 commentedon Feb 3, 2019
I can confirm I can reproduce the problem (using the latest version)
yoat commentedon Feb 15, 2019
Try again with NativeScript 5.2. The issue I had (gap below flat ActionBar) has been resolved, so some work has gone into the NS 5.2 flat Action Bar handling.
MartoYankov commentedon Feb 18, 2019
As stated above, this issue is fixed in 5.2 with #6862
harryt04 commentedon Mar 25, 2019
Can comfirm this is still not fixed. I'm on v5.3.0-rc-2019-03-22-063928-01
MartoYankov commentedon Mar 26, 2019
@harryt04 Can you try it with v5.2.1
harryt04 commentedon Mar 26, 2019
@MartoYankov I've tried it with v5.2.1, 5.2.2 and the most recent release candidate. The issue persists. For us, we have a stacklayout wrapping our page-router-outlet. I saw on another issue thread someone saying that they had the same use case and issue, although I can't seem to find that thread now.
For now, our team has decided to change the action bar flat="false", and change our styling such that we aren't bothered by the non flat action bar. The only time the page doesn't lay out correctly is when the action bar flatness is set to true.
MartoYankov commentedon Mar 27, 2019
@harryt04 Flat bars have been a nightmare. However, this issue has been fixed in 5.2.1 and we have found out that it returned with 5.2.2. Here is the new issue that was opened - #7065. If this is not the issue you are experiencing, please open a new one. If you can attach a playground with a simple example that demonstrates your setup, it would be great.
lock commentedon Mar 27, 2020
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.