Skip to content
This repository has been archived by the owner on Nov 24, 2020. It is now read-only.

Bug on hide #73

Closed
Lzyct opened this issue Jul 3, 2020 · 6 comments
Closed

Bug on hide #73

Lzyct opened this issue Jul 3, 2020 · 6 comments

Comments

@Lzyct
Copy link

Lzyct commented Jul 3, 2020

Describe the bug
I have issue when try to hide progress dialog.
It's always showing if distance between show and hide is fast

To Reproduce
Steps to reproduce the behavior:
1.show progress dialog
2.try without delay then hide

Expected behavior
progress dialog should be hide

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: All
@fayaz07
Copy link
Owner

fayaz07 commented Jul 3, 2020

use await before show and hide methods

@fayaz07 fayaz07 closed this as completed Jul 3, 2020
@Lzyct
Copy link
Author

Lzyct commented Jul 6, 2020

i was use await when call show and hide method but it's not work @fayaz07
progressbar not hiding.
Thanks

@Lzyct
Copy link
Author

Lzyct commented Jul 6, 2020

image

stack in this

@Lzyct
Copy link
Author

Lzyct commented Jul 6, 2020

Fix : Need to add delay before hide progress dialog

@fayaz07
Copy link
Owner

fayaz07 commented Jul 6, 2020

No, you wouldn't need to do that, you can just fix it by adding await keyword

@Lzyct
Copy link
Author

Lzyct commented Jul 6, 2020

not working if just add await,
i was add await and still stuck when delay between .show() and .hide() it's too fast, so i add delay about 300ms before hide

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants