Skip to content

Question: Core Module change causing style to break #4728

Closed

Description

@bradmartin

Please, provide the details below:

I normally wouldn't open an issue for this type of bug without investigating but too many people have hit the same issue and I don't recall any changes in the plugins in quite some time and I haven't had time to debug the issue. The issue is on both cardview and floatingactionbutton plugin repos have been opened with the same issue recently.

nstudio/nativescript-cardview#64
nstudio/nativescript-floatingactionbutton#57

Which platform(s) does your issue occur on?

Android for sure

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

See issue

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

Run latest core modules with either the cardview or fab plugin as described in the issue on the repos. Someone has reported a revert in the core-modules fixed the issue and then when updating to the latest it breaks again.

Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.

Demo code on repos should be sufficient.

Activity

  1. tsonevn commented on Aug 23, 2017

    @tsonevn
    Contributor

    Hi @bradmartin,
    Thank you for reporting this issue.
    We reviewed the described scenario and indeed there is an issue with getting drawable from the native view, which in some cases is a null object.
    We will investigate further how to resolve this problem and will provide a fix inside the tns-core-modules.
    Regards,
    @tsonevn

  2. hshristov commented on Aug 29, 2017

    @hshristov
    Contributor

    Hi @bradmartin

    Thanks for reporting this. It is fixed in the master branch with this PR: #4742 and will be live in 3.2

  3. added this to the milestone on Aug 29, 2017
  4. self-assigned this
    on Aug 29, 2017
  5. added
    ready for testTSC needs to test this and confirm against live production apps and automated test suites
    on Aug 29, 2017
  6. SP1966 commented on Sep 11, 2017

    @SP1966

    After updating this issue is still unresolved in both of the following plugins:

    nstudio/nativescript-floatingactionbutton#57
    nstudio/nativescript-cardview#64

  7. jafsparrow commented on Sep 25, 2017

    @jafsparrow

    Hi All,

    Any update on this? anybody figured out the reason and way to fix it.?

  8. bradmartin commented on Sep 25, 2017

    @bradmartin
    ContributorAuthor

    @hshristov - I believe an issue might still be present on Android 6 per this comment nstudio/nativescript-floatingactionbutton#57 (comment)

  9. jafsparrow commented on Sep 25, 2017

    @jafsparrow

    Thanks Brad, I will try this on 7 then..!
    But there's gotta be a reason for this..! I'm facing same kind of issue with FAB and CardView.

  10. hshristov commented on Oct 18, 2017

    @hshristov
    Contributor

    @bradmartin @jafsparrow @SP1966
    Addition to the original fix because of bug in Android 6.0 API 23
    #4959

  11. jafsparrow commented on Oct 18, 2017

    @jafsparrow

    Thank you @hshristov.

    for FAB and CardView
    I think explicitly giving the color property is solving the issue (can be used a hack fix).

    I was also testing the dropdown plugin which is also breaking if some properties are not given in css (specifying the properties in css fixes the issue).

    thanks guys for your helps..

  12. lock commented on Aug 27, 2019

    @lock

    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.

  13. locked and limited conversation to collaborators on Aug 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugdoneos: androidready for testTSC needs to test this and confirm against live production apps and automated test suites

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions