Skip to content

fix(#769): adjust the position of the media preview clear button.#771

Merged
latin-panda merged 7 commits intomainfrom
fixes-clear-button-of-image-and-video-upload
Apr 14, 2026
Merged

fix(#769): adjust the position of the media preview clear button.#771
latin-panda merged 7 commits intomainfrom
fixes-clear-button-of-image-and-video-upload

Conversation

@latin-panda
Copy link
Copy Markdown
Collaborator

@latin-panda latin-panda commented Apr 7, 2026

Closes #769

I have verified this PR works in these browsers (latest versions):

  • Chrome
  • Firefox
  • Safari (macOS)
  • Safari (iOS)
  • Chrome for Android
  • Not applicable

What else has been done to verify that this works as intended?

test.mp4

Why is this the best possible solution? Were any other approaches considered?

How does this change affect users? Describe intentional changes to behavior and behavior that could have accidentally been affected by code changes. In other words, what are the regression risks?

Do we need any specific form for testing your changes? If so, please attach one.

What's changed

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Apr 7, 2026

🦋 Changeset detected

Latest commit: 04705f6

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@getodk/web-forms Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@latin-panda latin-panda changed the title fix(#769): adjust the display of small images and the placement of the clear button fix(#769): adjust the position of the media preview clear button. Apr 8, 2026
@latin-panda latin-panda requested a review from garethbowen April 8, 2026 18:51
@latin-panda
Copy link
Copy Markdown
Collaborator Author

@garethbowen This is ready for review; I'll send it first for a quick QA verification.

@latin-panda
Copy link
Copy Markdown
Collaborator Author

It has passed QA verification :) Ready for review

@garethbowen
Copy link
Copy Markdown
Collaborator

Comment on issue - IMO this is not a bug. Waiting for design confirmation.

Copy link
Copy Markdown
Collaborator

@garethbowen garethbowen left a comment

Choose a reason for hiding this comment

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

Looks good!

There's a lint warning (not error) being generated - commented below.

Comment thread packages/web-forms/src/components/form-elements/upload/UploadControl.vue Outdated
@latin-panda latin-panda merged commit c6856c5 into main Apr 14, 2026
54 checks passed
@latin-panda latin-panda deleted the fixes-clear-button-of-image-and-video-upload branch April 14, 2026 23:00
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.

"X" button rendered outside the image/video preview container

2 participants