Skip to content

Commit

Permalink
fix: Prevent the title input to be selected when opening Project Details
Browse files Browse the repository at this point in the history
  • Loading branch information
pruizlezcano committed Mar 16, 2024
1 parent 5b4f534 commit 9d9f86e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/renderer/Views/ProjectView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,10 @@ function ProjectView({

return (
<Sheet open={isOpen} onOpenChange={handleOpen}>
<SheetContent className="w-[100%] md:max-w-[60%] lg:max-w-[50%] xl:max-w-[45%] 2xl:max-w-[45%] sm:max-w-[80%]">
<SheetContent
className="w-[100%] md:max-w-[60%] lg:max-w-[50%] xl:max-w-[45%] 2xl:max-w-[45%] sm:max-w-[80%]"
onOpenAutoFocus={(e) => e.preventDefault()}
>
<SheetHeader>
<DebounceInput
value={project.title}
Expand Down

0 comments on commit 9d9f86e

Please sign in to comment.