diff --git a/.changeset/modern-starfishes-matter.md b/.changeset/modern-starfishes-matter.md new file mode 100644 index 0000000000..c9ae55b1af --- /dev/null +++ b/.changeset/modern-starfishes-matter.md @@ -0,0 +1,6 @@ +--- +"@twilio-paste/visual-picker": patch +"@twilio-paste/core": patch +--- + +[Visual Picker]: Fix Visual Picker checkbox doesn't work in firefox when checkbox is clicked on directly diff --git a/packages/paste-core/components/visual-picker/src/VisualPickerCheckbox.tsx b/packages/paste-core/components/visual-picker/src/VisualPickerCheckbox.tsx index c97420f1d0..cc162f5408 100644 --- a/packages/paste-core/components/visual-picker/src/VisualPickerCheckbox.tsx +++ b/packages/paste-core/components/visual-picker/src/VisualPickerCheckbox.tsx @@ -115,7 +115,7 @@ export const VisualPickerCheckbox = React.forwardRef {labelText} e.stopPropagation()} + onClick={(e) => e.preventDefault()} borderRadius="borderRadius20" element={`${element}_CONTROL`} disabled={disabled}