Skip to content
This repository was archived by the owner on Dec 19, 2021. It is now read-only.
This repository was archived by the owner on Dec 19, 2021. It is now read-only.

Android: loading-indicator and orientation change #45

Open
@felixkrautschuk

Description

@felixkrautschuk

If the demo apps cannot help and there is no issue for your problem, tell us about it

Please, ensure your title is less than 63 characters long and starts with a capital
letter.

When showing a loading indicator and then changing the device orientation, the layout of the loading indicator is not updated correctly on Android.

loading-indicator-orienation-android

On iOS, everything works as expected.

A workaround for this is triggering the orientationChange event of the application, hiding the old dialog and create a new dialog within that event-handler.
But before doing that, I just wanted to ask if there is a possible fix for that within the plugin.

Which platform(s) does your issue occur on?

  • Android
  • tested on Android 5.1, 7.1.1, 8.1, 9 and 10
  • emulator and device

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

  • CLI: 6.5.0
  • Cross-platform modules: @nativescript/core 6.5.1
  • Runtime(s): tns-android 6.5.0
  • Plugin(s): @nstudio/nativescript-loading-indicator 3.0.4

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

Describe the steps to reproduce it.
Just follow the steps on the provided demo app or use the demo app of this repository (it is reproducable on all types of loading dialogs).

Is there any code involved?

ns-loadingindicatororientation.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions