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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chloe/oa dropzone keyboardevents #11713

Closed

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
Copy link
Contributor

Hi! We noticed there hasn’t been activity on this PR in a while. After 30 days, it will close automatically.

If it’s still relevant, or you have updates, comment and let us know. And don’t worry, you can always re-open later if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant