Open pankajkumar005 opened 9 years ago
Clear button is there to clear the input. Thanks for comments.
Having clear button is good enhancement and makes user exp nice :)
But, what I meant by last comment was to clear the result of previous operation(by default) before new operation starts e.g. Step 1: click number, say 5 Step 2: click operation, say + Step 3: click number, say 10 Step 4: click "=" Result is 15, which is fine. Now: Step 5: Click number say 8 158 is displayed i.e. 8 is appended to previous result. Ideally, previous result should be cleared by default (without clicking on clear button) and we should see 8 only.
But on Step 5: if we click operation (say +), instead of number then result should stay and should be considered for calculations.
Handling these cases will make UX further nice :)
[Usability Bug] Once "=" button is pressed to show the result then before considering user's next input, it will be good to clear the result.