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

Using element.scroll_to on android causes a crash #3416

Open
patrik-cihal opened this issue Dec 20, 2024 · 1 comment
Open

Using element.scroll_to on android causes a crash #3416

patrik-cihal opened this issue Dec 20, 2024 · 1 comment

Comments

@patrik-cihal
Copy link

Problem

Steps To Reproduce

Steps to reproduce the behavior:

Have an app where you want automatically scroll to an element.
Call this function to do so: element.scroll_to(ScrollBehavior::Instant).await;

Expected behavior

Should make the element visible by scrolling to it and continue functioning normally. But crashes instead after a short period of time.

Environment:

  • Dioxus version: 0.6.1
  • Rust version: idk
  • OS info: Arch Linux
  • App platform: android

Questionnaire

@patrik-cihal
Copy link
Author

Actually it crashes only when I unwrap it. I don't get any tracing from the device tho. I think this is an issue from my side since I'm not getting any tracing in general.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant