Skip to content

ViewBase.className & cssClasses output should be in sync #7756

@manoldonev

Description

@manoldonev

Is your feature request related to a problem? Please describe.
Currently there is a discrepancy between ViewBase.className and ViewBase.cssClasses property output -- if you try to get the className value it will not include any values that were added through cssClasses directly.

Describe the solution you'd like
This becomes especially problematic with #7606 that introduces "system" css classes for platform/device/orientation and presumably as a NativeScript developer you would need to be able to inspect them in Chrome devtools through the className attribute value.

Additional context
See #7725 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions