Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation mentions private ScrollPosition factory methods #2975

Closed
1pinus opened this issue Nov 12, 2023 · 2 comments
Closed

Documentation mentions private ScrollPosition factory methods #2975

1pinus opened this issue Nov 12, 2023 · 2 comments
Assignees
Labels
type: documentation A documentation update

Comments

@1pinus
Copy link

1pinus commented Nov 12, 2023

Documentation 4.4.4 says to use.
OffsetScrollPosition.initial()
but compiler complains that initial() is not public. I couldn't figure out how to use it.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Nov 12, 2023
@mp911de
Copy link
Member

mp911de commented Nov 13, 2023

Apologies for inconvenience. Use ScrollPosition.offset() for an initial offset scroll position and ScrollPosition.keyset() for an initial keyset scroll position. We have to fix our docs.

@mp911de mp911de added type: documentation A documentation update and removed status: waiting-for-triage An issue we've not yet triaged labels Nov 13, 2023
@mp911de mp911de self-assigned this Nov 13, 2023
@mp911de mp911de added this to the 3.1.6 (2023.0.6) milestone Nov 13, 2023
@mp911de mp911de changed the title Scrolling unusable Documentation mentions private ScrollPosition factory methods Nov 13, 2023
mp911de added a commit that referenced this issue Nov 13, 2023
@mp911de
Copy link
Member

mp911de commented Nov 13, 2023

Docs are updated now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: documentation A documentation update
Projects
None yet
Development

No branches or pull requests

3 participants