Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[modal] ns-dark not applied to top element #8374

Closed
@farfromrefug

Description

@farfromrefug

I am using latest of everything

If you run the attached example:

  • click the button => opened page is not themed but child label is
  • change the code to open modal modalFrame/modalFrame
  • click the button => opened page is themed but child label is
    NSPlayground 2.zip

I think the issue is that the top/root view opened in modal is not applied ns-dark.

I also see that behavior in my nativescript-material-bottomsheet and nativescript-material-dialogs when i show custom view inside dialog or bottom sheet.
https://github.com/Akylas/nativescript-material-components/blob/2ed3d870bdce10e66fa2bcda4d936da499690f39/src/bottomsheet/bottomsheet-common.ts#L134
BTW it happens on both platforms

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions