-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[FIX]: Team Repo Removed from list on backspace #512
Conversation
Hey @samad-yar-khan , @jayantbh I fixed the issue. I started by looking into the It hit me that maybe there was something wrong with the I ran a few experiments in my personal project to confirm this theory, and indeed I was correct. I found that the behavior of the backspace key in the The solution was to override or compose key-down events in |
@VipinDevelops this fix feels hacky. Could you check if there's a better way to fix this? |
Hey @jayantbh I agree this looks a bit hacky but I have Tried and Tested everything in the logic and there is nothing wrong, I was also thinking the same that there might be some state change issue with a key press or something but no logic is correct it just a default behavior (It took me some time to figure it out). Here is a Issue Link that talks about the same issue in MUI itself and although it's a bit hacky I think the only why because one of the maintainers suggested it. so this fix is like what we do for forms |
Well... I see. In that case, the comments later in the thread suggest handling for other keys as well. Maybe you could test and handle for those as well? |
Sure @jayantbh I will test out and update the Delete and ArrowLeft Keys as well. |
@VipinDevelops sounds good |
Screencast.from.2024-08-10.03-49-32.webmHey @jayantbh I tested it out we have no problem with Delete or Left Arrow in our case |
Hey @VipinDevelops, I've merged it. Congrats on closing this one! |
Thanks Jayant |
Linked Issue(s)
#510
Acceptance Criteria fulfillment
Proposed changes (including videos or screenshots)
Screencast.from.2024-08-08.22-41-30.webm