Skip to content

isUserInteractionEnabled= true is not working after the http post  #890

Description

@tsonevn

From @Jaishankarb on July 11, 2017 16:22

is isUserInteractionEnabled is not enabling after the http post response

//typescript

 public signInInteraction: boolean = true;

 this._loginService.loginUser(JSON.stringify(this.loginUser))
        .subscribe((data) => {          
          this.signInInteraction = true;
          this.navHome();
        },
        (error) => {        
          console.log(this.password)
          this.signInInteraction = true;
          this.isLoginApi = true;
        });

//html

 <Button id="btnSubmit" text="Sign in" [isUserInteractionEnabled]="signInInteraction" class="Loginsubmit" autocapitalizationType="none" (tap)="Login()"></Button>

Copied from original issue: NativeScript/NativeScript#4540

Activity

  1. tsonevn commented on Jul 12, 2017

    @tsonevn
    ContributorAuthor

    Hi @Jaishankarb
    I reviewed this case and have to confirm that this is a real issue. I was able to reproduce it in NativeScript Angular 2 project only on Android.
    I am attaching sample project, which could be used for debugging.
    Archive.zip

  2. added this to the milestone on Aug 8, 2017
  3. modified the milestones: , on Aug 21, 2017
  4. modified the milestones: 5.x (TBD), 6.1 (TBD) on May 30, 2018
  5. self-assigned this
    on Jul 17, 2018
  6. tsonevn commented on Jul 19, 2018

    @tsonevn
    ContributorAuthor

    The issue seems to be resolved with the latest tns-core-modules 4.1.0 and nativescript-angular 6.0.0. I am attaching a sample project.
    Archive.zip

  7. modified the milestones: 6.1, 6.2 (TBD) on Aug 20, 2018
  8. ghost removed on Jan 8, 2019
  9. OskrLrba commented on Jan 11, 2019

    @OskrLrba

    This doesn't work for me.
    In this playground sample when you tap the button to switch isBusy property to false, you should be able to tap the TextField and that's not possible.

  10. tsonevn commented on Jan 14, 2019

    @tsonevn
    ContributorAuthor

    Hi @OskrLrba,
    Thank you for the provided sample project. I was able to recreate the case and will reopen the issue.

  11. modified the milestones: 6.2 (TBD), vNext on Feb 20, 2019
  12. NickIliev commented on Apr 15, 2019

    @NickIliev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions