Skip to content

Using element.scroll_to on android causes a crash #3416

@patrik-cihal

Description

@patrik-cihal

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions