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

File tree: Anything past what is initially shown is not rendered or clickable after scrolling. #10551

Open
alex-swafford opened this issue Dec 16, 2021 · 2 comments
Labels
bug bugs found in the application file dialog issues related to the file dialog tree issues related to the tree (ex: tree widget)

Comments

@alex-swafford
Copy link

alex-swafford commented Dec 16, 2021

Bug Description:

When the user opens the file tree dialog, they should be able to scroll down to see more files. They can scroll down, but only the files and folders that were initially shown are rendered or clickable - blank space shows up below them. Also, two scroll bars are drawn.

Steps to Reproduce:

  1. Run 'yarn build' and 'yarn start' in the examples/browser directory, then navigate to localhost:3000 to access the app.
  2. Click the 'open folder' button at the bottom left or click file -> open workspace.

Additional Information

  • Operating System: Windows 10
  • Theia Version: master branch as of 12/16/2021 (latest commit: 6175dfa)

GIF Recording:

TheiaFileDialogBroken

Note:

This issue is probably an unintended consequence of PR #9713 (https://github.com/eclipse-theia/theia/pull/9713/files). Re-adding the 'visible' styles removed in that PR fixes this issue, but the infinite scroll issue reappears. An ideal fix should address both issues.

@msujew
Copy link
Member

msujew commented Dec 16, 2021

@alex-swafford Which browser are you using? I noticed that behavior as well when using Firefox, but it worked fine for me when using Chrome.

@alex-swafford
Copy link
Author

alex-swafford commented Dec 16, 2021

@msujew That's odd. The issue happens for me when using Chrome, but I just checked and it works fine on Firefox. That at least gives me a workaround; thanks.

@colin-grant-work colin-grant-work added file dialog issues related to the file dialog tree issues related to the tree (ex: tree widget) bug bugs found in the application labels Dec 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug bugs found in the application file dialog issues related to the file dialog tree issues related to the tree (ex: tree widget)
Projects
None yet
Development

No branches or pull requests

3 participants