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

Make adjusted scroll value available in prompt constructor #60

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.

@taylorotwell taylorotwell merged commit 79bff71 into main Sep 8, 2023
4 checks passed
@taylorotwell taylorotwell deleted the minimum-scrolling branch September 8, 2023 12:05
@jessarcher jessarcher mentioned this pull request Sep 13, 2023
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