Skip to content

fix: exit search on blur [REACT-855]#3013

Merged
arnautov-anton merged 3 commits intomasterfrom
fix/search/exit-search-on-blur
Mar 17, 2026
Merged

fix: exit search on blur [REACT-855]#3013
arnautov-anton merged 3 commits intomasterfrom
fix/search/exit-search-on-blur

Conversation

@arnautov-anton
Copy link
Contributor

🎯 Goal

Enable exitSearchOnBlur in the demo application, adjust the behavior accordingly (keep the search open if user clicks on filters or clear button as that could be still considered within the bounds of the search input behavior-wise).

@github-actions
Copy link

github-actions bot commented Mar 16, 2026

Size Change: +186 B (+0.04%)

Total Size: 435 kB

Filename Size Change
./dist/cjs/experimental.js 4 kB +186 B (+4.88%) 🔍
ℹ️ View Unchanged
Filename Size
./dist/audioProcessing-BbOs2wMd.js 1.32 kB
./dist/Channel-TZ22fyQ0.js 20.2 kB
./dist/ChannelPreview-DS5FhtS1.js 14.1 kB
./dist/cjs/emojis.js 2.98 kB
./dist/cjs/index.js 217 kB
./dist/cjs/mp3-encoder.js 1.27 kB
./dist/css/index.css 44.2 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/limits-BOAH4IQZ.js 65.3 kB

compressed-size-action

@arnautov-anton arnautov-anton changed the title fix: exit search on blur fix: exit search on blur [REACT-855] Mar 16, 2026
@arnautov-anton arnautov-anton force-pushed the fix/search/exit-search-on-blur branch from 194155f to 4a023fe Compare March 16, 2026 15:54
if (
exitSearchOnInputBlur &&
// input is empty
!currentTarget.value &&
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm on the verge regarding this value check addition but the ticket calls for it so I've added it in a separate commit, let me know how you guys feel about it.

@arnautov-anton arnautov-anton force-pushed the fix/search/exit-search-on-blur branch from 3493e1d to 5440a23 Compare March 17, 2026 09:54
@arnautov-anton arnautov-anton merged commit 97f485d into master Mar 17, 2026
4 of 5 checks passed
@arnautov-anton arnautov-anton deleted the fix/search/exit-search-on-blur branch March 17, 2026 10:00
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