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

Waveform in UIHostingController in UIScrollView gets cut off #7

Open
willswinson opened this issue May 9, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@willswinson
Copy link

willswinson commented May 9, 2024

macOS Version(s) Used to Build

macOS 13 Ventura

Xcode Version(s)

Xcode 14

Description

I have a Waveform inside a UIHostingController to work with UIKit. That UIHostingController view is inside a UIScrollView.

There seems to be a bug where if you scroll away from the Waveform (to where its not visibile anymore), and then scroll back to it, a portion of the beginning of the wave gets removed or there is padding added.

If I debug the views, the UIHostingController is the correct size, but the Waveform view it contains gets some kind of padding to the left side (horizontal scrolling). If I rebuild the views, it corrects itself. It only happens when I scroll the view back to the visible area.

Crash Logs, Screenshots or Other Attachments (if applicable)

No response

@willswinson willswinson added the bug Something isn't working label May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant