my Angular code look like this >
<input type='text' (blur)='saveData()'>
<button (click)='navigateToPage2()'>
Jumping from textbox being focused to the button click, there is racing condition between two events.
Problem is button click gets ignored because the blur event fires first and brings the spinner on the screen while its making server call to save data.
How do I solve this exact problem?
Is there a hack to make click event fire before blur event ?