Skip to content

Comments

feat: create poll option dynamic height implementation#3410

Merged
isekovanic merged 22 commits intodevelopfrom
fix/create-poll-option-dyn-height
Feb 19, 2026
Merged

feat: create poll option dynamic height implementation#3410
isekovanic merged 22 commits intodevelopfrom
fix/create-poll-option-dyn-height

Conversation

@isekovanic
Copy link
Contributor

🎯 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
Before After
Android
Before After

🧪 Testing

☑️ Checklist

  • I have signed the Stream CLA (required)
  • PR targets the develop branch
  • Documentation is updated
  • New code is tested in main example apps, including all possible scenarios
    • SampleApp iOS and Android
    • Expo iOS and Android

@Stream-SDK-Bot
Copy link
Contributor

Stream-SDK-Bot commented Feb 18, 2026

SDK Size

title develop branch diff status
js_bundle_size 429 KB 429 KB 0 B 🟢

Base automatically changed from feat/create-poll to develop February 19, 2026 12:27
isekovanic and others added 6 commits February 19, 2026 13:32
# 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
@isekovanic isekovanic merged commit cbea0ee into develop Feb 19, 2026
3 checks passed
@isekovanic isekovanic deleted the fix/create-poll-option-dyn-height branch February 19, 2026 13: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