Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chloe/oa dropzone keyboardevents #11713

Draft
wants to merge 1 commit into
base: oa-dropzone-keyboardevents
Choose a base branch
from

Conversation

chloerice
Copy link
Member

WHY are these changes introduced?

Fixes #0000

WHAT is this pull request doing?

How to 馃帺

馃枼 Local development instructions
馃棐 General tophatting guidelines
馃搫 Changelog guidelines

馃帺 checklist

@@ -72,8 +76,8 @@ export function WithALabel() {
}

export function WithImageFileUpload() {
const [files, setFiles] = useState([]);
const [rejectedFiles, setRejectedFiles] = useState([]);
const [files, setFiles] = useState<File[]>([]);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(FIxed type errors throughout the file in addition to making the new story fully functional)

onClick={handleModalToggle}
onDrop={handleThumbnailDrop}
>
<UnstyledButton style={thumbnailStyle} onKeyUp={handleKeypress}>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The interactive child should probably be configured to handle click event instead of the DropZone's wrapper div)

chloerice

This comment was marked as duplicate.

@chloerice chloerice changed the base branch from main to oa-dropzone-keyboardevents March 11, 2024 18:41
@aaronccasanova aaronccasanova force-pushed the chloe/oa-dropzone-keyboardevents branch from 7b336b6 to 5df6c82 Compare April 19, 2024 21:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant