Open Knight704 opened 7 years ago
I have the same problem, but now with updating (basically comes down to the same thing). Is there an actual fix for this? When using dismiss and then show, I get to see a view for a bit which just disappears right after a millisecond.
Basically, I have a dialog with a button (not a DialogButton), which calls another function when the button is pressed, and in that function, DialogManager.update is called. The result is the first dialog showing just good, but when clicking the button, the dialog gets updated, then shows for like a millisecond and then disappears. Any help?
@Knight704 @metahexane Thanks for reporting this issue. I will try to fix it & will update you guys.
Hi, I'm facing same issue. Also when I try update dialog it updates and disappears. Do you have any solution?
Imagine A and B some dialog configurations (with different styling, childs, texts) : 1) Use DialogManager.show(A) 2) do DialogManager.dismiss(callback) 3) in callback do DialogManager.show(B)
Result: A closes, then B appears for a short time and closes immediately. But doing second show with timeout of 200 solves issue. Look like callback called earlier than it should?