fix: hidden file input being clickable (#1414)
This commit is contained in:
@@ -175,7 +175,7 @@ const AttachedFilesPopover: FunctionComponent<Props> = ({
|
|||||||
</div>
|
</div>
|
||||||
<input
|
<input
|
||||||
type="file"
|
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
|
multiple
|
||||||
ref={fileInputRef}
|
ref={fileInputRef}
|
||||||
onChange={async (event) => {
|
onChange={async (event) => {
|
||||||
|
|||||||
@@ -196,7 +196,7 @@ const ContentListView: FunctionComponent<Props> = ({
|
|||||||
<div id="items-title-bar-container">
|
<div id="items-title-bar-container">
|
||||||
<input
|
<input
|
||||||
type="file"
|
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
|
multiple
|
||||||
ref={fileInputRef}
|
ref={fileInputRef}
|
||||||
onChange={(event) => {
|
onChange={(event) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user