feat: create poll option dynamic height implementation#3410
Merged
isekovanic merged 22 commits intodevelopfrom Feb 19, 2026
Merged
feat: create poll option dynamic height implementation#3410isekovanic merged 22 commits intodevelopfrom
isekovanic merged 22 commits intodevelopfrom
Conversation
Contributor
SDK Size
|
# Conflicts: # package/src/components/Poll/CreatePollContent.tsx # package/src/components/Poll/components/CreatePollOptions.tsx
Co-authored-by: Ivan Sekovanikj <31964049+isekovanic@users.noreply.github.com>
…eam/stream-chat-react-native into fix/create-poll-option-dyn-height
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.
🎯 Goal
This PR introduces dynamic height support for the reorderable poll option creation dialog.
It will calculate sizes dynamically and in real-time, providing reordering in a proper manner based on whatever the current height is for the options.
It's something that we did not have initially and that would allow integrators to be able to completely override option rendering. In the next iteration we can make components inside the options as atomic as possible so that overriding layout would be easier. For now, theme overrides is something that would be most viable in these scenarios but later on we can allow proper composition and document the items inside so that full UI overrides can be done.
🛠 Implementation details
🎨 UI Changes
iOS
Android
🧪 Testing
☑️ Checklist
developbranch