fix(repeater-native): resolve workaround complexity with empty state support - #26
Open
Andries-Smit wants to merge 2 commits into
Open
fix(repeater-native): resolve workaround complexity with empty state support#26Andries-Smit wants to merge 2 commits into
Andries-Smit wants to merge 2 commits into
Conversation
Andries-Smit
force-pushed
the
feat/repeater-empty
branch
from
March 28, 2023 18:41
57b4b3f to
6caf5b0
Compare
Andries-Smit
force-pushed
the
feat/repeater-empty
branch
from
June 5, 2025 11:55
8545627 to
5443261
Compare
Andries-Smit
force-pushed
the
feat/repeater-empty
branch
2 times, most recently
from
February 27, 2026 10:24
25f5701 to
595a3a2
Compare
Andries-Smit
force-pushed
the
feat/repeater-empty
branch
from
July 3, 2026 14:55
595a3a2 to
92537e9
Compare
Andries-Smit
force-pushed
the
feat/repeater-empty
branch
from
September 2, 2026 07:12
92537e9 to
dff84bf
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix: Add empty state configuration for Repeater widget
Problem
When a Repeater displays no data, there is currently no way to show users a meaningful message or placeholder. This creates a poor UX where empty lists appear broken or unresponsive.
As a workaround, developers must create a surrounding context that:
This workaround is error-prone and adds unnecessary model complexity.
Solution
Add an
emptyListContentconfiguration property to Repeater, allowing developers to define custom content shown when the list is empty.This:
Context
Other data container widgets (ListView, Repeater in scroll context) cannot be safely nested in ScrollViews due to VirtualizedList conflicts. The Repeater is often the only viable option in these scenarios, making the empty state configuration essential for real-world applications.
Reference
This implementation follows the existing pattern in the Gallery widget: https://github.com/mendix/native-widgets/blob/main/packages/pluggableWidgets/gallery-native/src/Gallery.xml#L59