DioxusLabs / DioxusLabs/dioxus

Using element.scroll_to on android causes a crash

Open
#3,416 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Rust
Stars
39.1k
Forks
1.9k
Avg merge
4d 10h
Merged PRs (30d)
4

Description

**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**

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.