Skip to content

fix: reliably detect whether the click originated inside before closing mobile nav#3061

Merged
MartinCupela merged 4 commits intomasterfrom
fix/demo/return-responsivness
Mar 26, 2026
Merged

fix: reliably detect whether the click originated inside before closing mobile nav#3061
MartinCupela merged 4 commits intomasterfrom
fix/demo/return-responsivness

Conversation

@MartinCupela
Copy link
Copy Markdown
Contributor

@MartinCupela MartinCupela commented Mar 25, 2026

🎯 Goal

Reliably detect, whether a click originated inside the channel list before collapsing it on small screens. This is important for not collapsing the sidebar when search UI is cancelled.
This PR also fixes the broken responsive layout in the demo app.

Closes REACT-924: Make the demo app responsive again
Closes Closes REACT-928: fix: change ChannelList LoadMore button appearance to ghost

🎨 UI Changes

pHzG.webm

@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 25, 2026

Size Change: +107 B (+0.01%)

Total Size: 769 kB

Filename Size Change
./dist/cjs/index.js 236 kB +54 B (+0.02%)
./dist/es/index.mjs 234 kB +53 B (+0.02%)
ℹ️ View Unchanged
Filename Size
./dist/cjs/audioProcessing.js 1.32 kB
./dist/cjs/emojis.js 2.96 kB
./dist/cjs/mp3-encoder.js 1.27 kB
./dist/cjs/WithAudioPlayback.js 89.1 kB
./dist/css/index.css 46.9 kB
./dist/css/v2/emoji-mart.css 1.84 kB
./dist/css/v2/emoji-replacement.css 300 B
./dist/css/v2/index.css 39.4 kB
./dist/css/v2/index.layout.css 22.8 kB
./dist/es/audioProcessing.mjs 1.31 kB
./dist/es/emojis.mjs 2.48 kB
./dist/es/mp3-encoder.mjs 756 B
./dist/es/WithAudioPlayback.mjs 88.8 kB

compressed-size-action

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 25, 2026

Codecov Report

βœ… All modified and coverable lines are covered by tests.
βœ… Project coverage is 78.93%. Comparing base (30ddab0) to head (6fb4929).
⚠️ Report is 14 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3061   +/-   ##
=======================================
  Coverage   78.92%   78.93%           
=======================================
  Files         426      426           
  Lines       12064    12069    +5     
  Branches     3853     3854    +1     
=======================================
+ Hits         9522     9527    +5     
  Misses       2542     2542           

β˜” View full report in Codecov by Sentry.
πŸ“’ Have feedback on the report? Share it here.

πŸš€ New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • πŸ“¦ JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@MartinCupela MartinCupela merged commit 8d25ead into master Mar 26, 2026
8 checks passed
@MartinCupela MartinCupela deleted the fix/demo/return-responsivness branch March 26, 2026 06:48
github-actions bot pushed a commit that referenced this pull request Mar 27, 2026
## [14.0.0-beta.3](v14.0.0-beta.2...v14.0.0-beta.3) (2026-03-27)

### Bug Fixes

* align message reactions vertically to the center of the message list ([#3064](#3064)) ([55dd2e8](55dd2e8))
* increase message list width ([f81cae4](f81cae4))
* increase message list width ([#3062](#3062)) ([fdf0e15](fdf0e15))
* keep MessageList scrolled to the bottom ([#3068](#3068)) ([91eba1b](91eba1b))
* reliably detect whether the click originated inside before closing mobile nav ([#3061](#3061)) ([8d25ead](8d25ead))
* remove bottom padding from poll option with votes in poll results ([#3059](#3059)) ([a55774d](a55774d))

### Features

* add ContextMenu animations API and global close-on-click-outside configuration mechanism ([#3067](#3067)) ([630e5c7](630e5c7))
* quick dropdown toggle and cleanup ([#3054](#3054)) ([30ddab0](30ddab0))
* reset audio player progress when the track is fully played ([#3066](#3066)) ([7914e51](7914e51))
@stream-ci-bot
Copy link
Copy Markdown

πŸŽ‰ This PR is included in version 14.0.0-beta.3 πŸŽ‰

The release is available on:

Your semantic-release bot πŸ“¦πŸš€

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants