Skip to content

Make adjusted scroll value available in prompt constructor #60

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

Merged
merged 2 commits into from
Sep 8, 2023

Conversation

jessarcher
Copy link
Member

This PR moves the responsibility of reducing the prompt's configured scroll height to the prompt itself rather than the renderer.

This supports #59 by allowing it to reference the amended $scroll value when determining how far down the list should be scrolled when a default value is passed that is beyond the scrollable area.

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

Successfully merging this pull request may close these issues.

2 participants