Skip to content

feat: add matchReferenceWidth to DropdownProps#3166

Merged
MartinCupela merged 2 commits intomasterfrom
feat/add-matchReferenceWidth-DropdownProps
May 5, 2026
Merged

feat: add matchReferenceWidth to DropdownProps#3166
MartinCupela merged 2 commits intomasterfrom
feat/add-matchReferenceWidth-DropdownProps

Conversation

@MartinCupela
Copy link
Copy Markdown
Contributor

🎯 Goal

Introduces the prop to be able to match the width of the dropdown to the reference element. Default is false for backwards compatibility.

Fix: Prevent propagation of the close behavior, that can be invoked by pressing Esc button, higher up (e.g. could lead to closing of the whole modal instead of just the dropdown).

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 5, 2026

Size Change: +400 B (+0.06%)

Total Size: 673 kB

πŸ“¦ View Changed
Filename Size Change
dist/cjs/index.js 267 kB +202 B (+0.08%)
dist/es/index.mjs 265 kB +198 B (+0.07%)
ℹ️ View Unchanged
Filename Size
dist/cjs/audioProcessing.js 1.32 kB
dist/cjs/emojis.js 3.01 kB
dist/cjs/mp3-encoder.js 1.27 kB
dist/cjs/useNotificationApi.js 45.4 kB
dist/css/emoji-picker.css 178 B
dist/css/emoji-replacement.css 456 B
dist/css/index.css 39.3 kB
dist/es/audioProcessing.mjs 1.31 kB
dist/es/emojis.mjs 2.52 kB
dist/es/mp3-encoder.mjs 756 B
dist/es/useNotificationApi.mjs 45.2 kB

compressed-size-action

@codecov
Copy link
Copy Markdown

codecov Bot commented May 5, 2026

Codecov Report

❌ Patch coverage is 47.05882% with 9 lines in your changes missing coverage. Please review.
βœ… Project coverage is 83.50%. Comparing base (0c0d65c) to head (fefb40d).

Files with missing lines Patch % Lines
src/components/Form/Dropdown.tsx 43.75% 9 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3166      +/-   ##
==========================================
- Coverage   83.54%   83.50%   -0.05%     
==========================================
  Files         434      434              
  Lines       12931    12947      +16     
  Branches     4161     4169       +8     
==========================================
+ Hits        10803    10811       +8     
- Misses       2128     2136       +8     

β˜” 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 cef7fa5 into master May 5, 2026
9 checks passed
@MartinCupela MartinCupela deleted the feat/add-matchReferenceWidth-DropdownProps branch May 5, 2026 10:23
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