akveo / ngx-admin

Customizable admin dashboard template based on Angular 10+
https://akveo.github.io/ngx-admin/
MIT License
25.27k stars 7.96k forks source link

ng2-smart-table component bug when i press esc key. #5877

Open Geoorgee opened 3 years ago

Geoorgee commented 3 years ago

Issue type

I'm submitting a ... (check one with "x")

Issue description

When i press in ng2-smart-table escape key , i saw a bug, and can't get rid of it Current behavior:

image

and this is what is happening after pressing esc on keyboard

image

what's the solution for this little bug? Thank you

Prefix1802 commented 3 years ago

It would be nice if you explain alittle further instead of letting people search for the differences. :)

Geoorgee commented 3 years ago

I press the add button, and when i press it, it has the first behavior, that's correct, and after if i don't press the x (cancel button ) and I press "esc" the inputs disappear but the confirm and the cancel button doesn't . and if i press cancel ( the x button) the row disappear, but after i press again add button. the broken row appears. You can check it here https://www.akveo.com/ngx-admin/pages/tables/smart-table , only try to add a new row, and then press the esc key from keyboard. Thank you