Skip to content

Conversation

@willmcgugan
Copy link
Member

@willmcgugan willmcgugan commented Nov 21, 2024

Fixed an issue where the constrain wasn't applied to the Select. This ensures that if you expand the select when it is at the bottom of the screen, it will always be visible. See snapshot if that isn't clear.

Also may have fixed the erratic invisible select issue. The OptionList updates caches on idle, these caches influence the height returned by get_content_height. So the auto height returned may not reflect the actual items, depending on when idle events are generated.

If Select issue is fixed (still not certain), I can at least postpone the OptionList refactor.

Copy link
Member

@darrenburns darrenburns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested it out in Posting and looks good.

@willmcgugan willmcgugan merged commit 290a6f4 into main Nov 21, 2024
19 checks passed
@willmcgugan willmcgugan deleted the select-constrain branch November 21, 2024 17:56
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.

3 participants