fix: hidden file input being clickable (#1414)
This commit is contained in:
@@ -175,7 +175,7 @@ const AttachedFilesPopover: FunctionComponent<Props> = ({
|
||||
</div>
|
||||
<input
|
||||
type="file"
|
||||
className="absolute top-0 left-0 opacity-0"
|
||||
className="absolute top-0 left-0 -z-50 h-px w-px opacity-0"
|
||||
multiple
|
||||
ref={fileInputRef}
|
||||
onChange={async (event) => {
|
||||
|
||||
@@ -196,7 +196,7 @@ const ContentListView: FunctionComponent<Props> = ({
|
||||
<div id="items-title-bar-container">
|
||||
<input
|
||||
type="file"
|
||||
className="absolute top-0 left-0 opacity-0"
|
||||
className="absolute top-0 left-0 -z-50 h-px w-px opacity-0"
|
||||
multiple
|
||||
ref={fileInputRef}
|
||||
onChange={(event) => {
|
||||
|
||||
Reference in New Issue
Block a user