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

Horizontal scroll in gallery #4427

Open
WofWca opened this issue Dec 18, 2024 · 1 comment
Open

Horizontal scroll in gallery #4427

WofWca opened this issue Dec 18, 2024 · 1 comment
Labels
OS: Windows This issue or PR is related to Windows OS polish ui/ux UI/UX related issues

Comments

@WofWca
Copy link
Collaborator

WofWca commented Dec 18, 2024

  • Operating System (Linux/Mac/Windows/iOS/Android): Windows 10
  • Delta Chat Version: 1.50.1
  • Expected behavior: There is no horizontal scrollbar
  • Actual behavior: There is a horizontal scrollbar
  • Steps to reproduce the problem:
    1. Share a few images in gallery
    2. Open the gallery
  • Screenshots:
    image
  • Logs:

This is purely a cosmetic issue.

It probably has to do with this piece of code. The size of the scrollbar is not always 6px on all OSes.

const widthWithoutScrollbar = width - 6

@WofWca WofWca added ui/ux UI/UX related issues polish OS: Windows This issue or PR is related to Windows OS labels Dec 18, 2024
@Simon-Laux
Copy link
Member

The size of the scrollbar is not always 6px on all OSes.

probably was the case before I made browser version, because there I used the api that is available in all browsers - before we used the chromium exclusive api which gave more control over scrollbars.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OS: Windows This issue or PR is related to Windows OS polish ui/ux UI/UX related issues
Projects
None yet
Development

No branches or pull requests

2 participants