dioxus icon indicating copy to clipboard operation
dioxus copied to clipboard

Using element.scroll_to on android causes a crash

Open patrik-cihal opened this issue 1 year ago • 1 comments

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 avatar Dec 20 '24 17:12 patrik-cihal

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.

patrik-cihal avatar Dec 20 '24 17:12 patrik-cihal

I can confirm this behavior, I can neither seem to scroll on android, nor do I get tracing output.

Plebshot avatar Jan 25 '25 20:01 Plebshot

I don't believe we currently forward Android logs. They would be outputted in adb logcat

DogeDark avatar Jan 27 '25 17:01 DogeDark