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

Do not discard previous WidgetRequests during selectList's postMerge call #157

Merged
merged 10 commits into from
May 28, 2022

Conversation

fjvallarino
Copy link
Owner

During the merge process, child widgets may make WidgetRequests for different purposes. One of the main ones is ResizeWidgets, which the label widget uses for recalculating its glyphs.

The postMerge step in selectList, used by dropdown, discarded previous requests and caused visual issues. Resizing the window, which forces label recalculations, showed that the data was still correct.

The fix for the issue is located in SelectList.hs. The rest of the changes are minor, unrelated improvements in Container.

This is discussed here: #154.

@prolic
Copy link

prolic commented May 19, 2022

👍

@fjvallarino fjvallarino merged commit 66db43f into main May 28, 2022
@fjvallarino fjvallarino deleted the fix/select-list-resize branch May 28, 2022 19:44
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