Nativescript: Styling ActionBar in css file carries over to other view

Created on 1 Sep 2016  路  7Comments  路  Source: NativeScript/NativeScript

Tell us about the problem

When you style ActionBar in a views css, it carries those ActionBar properties over to the next view you navigate to.

Which platform(s) does your issue occur on?

iOS not sure about android

Please provide the following version numbers that your issue occurs with:

  • CLI: 2.2.1

    Please tell us how to recreate the issue in as much detail as possible.

use this project:

actionbarbug.zip

bug css done ios

Most helpful comment

It appears that this bug has been fixed with the following pull request: https://github.com/NativeScript/NativeScript/pull/2994

All 7 comments

Hi @firescript,
Thank you for reporting this issue.
I reviewed the given project and confirm that this is a real issue, when you set ActionBar style in the view css file. This issue has been reproducible only for iOS.

I confirm this issue

I too confirm this issue and as a workaround, using inline CSS works.

I tried to reproduce this, but it seems to be working properly with the master branch of the modules. I added a UI test to verify this: https://github.com/NativeScript/NativeScript/blob/master/apps/app/ui-tests-app/issues/issue-2661.xml

It appears that this bug has been fixed with the following pull request: https://github.com/NativeScript/NativeScript/pull/2994

Thanks!

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.

Was this page helpful?
0 / 5 - 0 ratings