Skip to content

Scroll only if item is not fully visible #118

Closed
@rjahn

Description

@rjahn

Platforms

iOS

Description

I have a CustomScrollView with SliverList.

observeController.animateTo(index: x, ...) works without problems.

Is it possible to find out if index: x is fully shown and don't scroll in this case?
It could be possible that index: x is not fully shown, but a small part. In this case, scroll to the index?

I tried to use onObserve but it won't be called initialy and observerController.dispatchOnceObserve(...) didn't help.

My code

No response

Try do it

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions