react-dropzone 14.3.1 → 14.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/es/index.js CHANGED
@@ -898,7 +898,16 @@ export function useDropzone() {
898
898
  multiple: multiple,
899
899
  type: "file",
900
900
  style: {
901
- display: "none"
901
+ border: 0,
902
+ clip: "rect(0, 0, 0, 0)",
903
+ clipPath: "inset(50%)",
904
+ height: "1px",
905
+ margin: "0 -1px -1px 0",
906
+ overflow: "hidden",
907
+ padding: 0,
908
+ position: "absolute",
909
+ width: "1px",
910
+ whiteSpace: "nowrap"
902
911
  },
903
912
  onChange: composeHandler(composeEventHandlers(onChange, onDropCb)),
904
913
  onClick: composeHandler(composeEventHandlers(onClick, onInputElementClick)),