Skip to content

Commit

Permalink
fix: Remove stopPropagation from Field component
Browse files Browse the repository at this point in the history
  • Loading branch information
saescapa committed Aug 20, 2024
1 parent b669ac1 commit 0243ccb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/seven-readers-greet.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"paris": patch
---

fix(Field): Remove stopPropagation on Field component
1 change: 0 additions & 1 deletion src/stories/field/Field.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ export const Field: FC<PropsWithChildren<FieldProps>> = ({
// className,
)}
onClick={(e) => {
e.preventDefault();
if (typeof window !== 'undefined' && htmlFor) {
const input = document.getElementById(htmlFor);
if (input && !disabled) {
Expand Down

0 comments on commit 0243ccb

Please sign in to comment.