linebender / linebender/druid

Feature request: Scroll Snap

Open
#2,056 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
9.7k
Forks
565
PR merge metrics
No merged PRs in 30d

Description

Thanks for this awesome crate :)

It would be great if the `Scroll` widget had a feature such that when its contents change, it automatically snaps to the "end" of its contents.

I think this idea is mentioned amongst the wishes here: https://github.com/linebender/druid/issues/73

Also I tried to add this feature myself. Although this is not the way that the feature should be implemented, the example may be helpful...: https://github.com/linebender/druid/pull/1798

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting the Scroll widget and the example in pull request #1798, then compare the requested behavior with the related wishes in issue #73. Done means the Scroll widget automatically snaps to the end when its contents change, using an implementation suitable for the crate.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
desktop
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.