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

bug: scroll bar length doesn't get recomputed on window resize #894

Closed
errmayank opened this issue Mar 12, 2024 · 2 comments · May be fixed by #1182
Closed

bug: scroll bar length doesn't get recomputed on window resize #894

errmayank opened this issue Mar 12, 2024 · 2 comments · May be fixed by #1182
Labels
type: bug A confirmed report of unexpected behavior in the application

Comments

@errmayank
Copy link

Describe the bug

Horizontal scrollbar length doesn't seem like it's being recomputed from what i understand, resulting in this:

scroll-bug.mov

Reproduction

I wasn't able to import ScrollArea in the stackblitz so i created a repo here

Logs

No response

System Info

System:
  OS: macOS 14.4
  CPU: (8) arm64 Apple M1 Pro
  Memory: 4.38 GB / 16.00 GB
  Shell: 5.9 - /bin/zsh
Binaries:
  Node: 20.10.0 - ~/.nvm/versions/node/v20.10.0/bin/node
  Yarn: 1.22.21 - /opt/homebrew/bin/yarn
  npm: 10.2.3 - ~/.nvm/versions/node/v20.10.0/bin/npm
  pnpm: 8.15.4 - /opt/homebrew/bin/pnpm
  bun: 1.0.18 - ~/.bun/bin/bun
Browsers:
  Chrome: 122.0.6261.112
  Safari: 17.4
npmPackages:
  @sveltejs/kit: ^2.0.0 => 2.5.3
  bits-ui: ^0.19.6 => 0.19.6
  svelte: ^4.2.7 => 4.2.12

Severity

annoyance

@huntabyte huntabyte added the type: bug A confirmed report of unexpected behavior in the application label Mar 16, 2024
@benediktms
Copy link

I'm encountering the same issue. I think this is related to the underlying library and related to: huntabyte/bits-ui#567

@huntabyte huntabyte mentioned this issue Sep 28, 2024
3 tasks
@huntabyte
Copy link
Owner

This is resolved in bits-ui@next :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A confirmed report of unexpected behavior in the application
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants