creating folder dialog box on pressing Enter/return key (#7021) (#7323)

* creating folder dialog box on pressing Enter/return key (#7021)

* code refactor for enable-submitting-dialog-box-on-pressing-enter-key

* code refactor for creating folder dialog box on pressing Enter/return key (#7021)

* Reverted the onKeyDown changes

---------

Co-authored-by: Kavin Venkatachalam <kavin.saratha@gmail.com>
This commit is contained in:
Faroque Abdullah 2023-09-27 15:50:13 +06:00 committed by GitHub
parent 9f2ff94a12
commit c017eafb51
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -188,6 +188,7 @@ export const Folders = function Folders({
setShowInput(false);
setFilteredData(folders);
}
return (
<div
className={`w-100 folder-list ${!canCreateApp && 'folder-list-user'}`}