Skip to content

Conversation

@JammingBen
Copy link
Contributor

The scrollbar became visible because of the hidden input element. It just needs a hidden overflow on the parent container.

fixes #1543

The scrollbar became visible because of the hidden input element. It just needs a hidden overflow on the parent container.
@JammingBen JammingBen self-assigned this Nov 7, 2025
Copilot AI review requested due to automatic review settings November 7, 2025 10:43
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR refactors the ResourceUpload component from Vue 2 Options API to Vue 3 Composition API with <script setup> syntax. The main changes streamline the component code and add CSS classes for proper positioning of the hidden file input element.

  • Converts from Options API (defineComponent) to Composition API (<script setup>)
  • Adds relative overflow-hidden classes to the wrapper div for proper layout
  • Simplifies import statements and removes unnecessary destructuring

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
packages/web-app-files/src/components/AppBar/Upload/ResourceUpload.vue Refactored from Options API to Composition API with <script setup>, added CSS classes to wrapper div for proper positioning
packages/web-app-files/tests/unit/components/AppBar/Upload/snapshots/ResourceUpload.spec.ts.snap Updated snapshot to reflect new CSS classes added to the wrapper div

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@JammingBen JammingBen merged commit 9024036 into main Nov 7, 2025
35 checks passed
@JammingBen JammingBen deleted the fix/upload-menu-horizontal-scrollbar branch November 7, 2025 12:06
@JammingBen
Copy link
Contributor Author

💚 All backports created successfully

Status Branch Result
stable-4.2

Questions ?

Please refer to the Backport tool documentation

@openclouders openclouders mentioned this pull request Nov 7, 2025
1 task
openclouders pushed a commit that referenced this pull request Nov 7, 2025
…-scrollbar

fix: remove horizontal scrollbar when opening upload menu
@openclouders openclouders mentioned this pull request Dec 15, 2025
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upload Button creates a really large horizontal scrollbar

3 participants