Skip to content

Conversation

@alastair-simon
Copy link
Contributor

@alastair-simon alastair-simon commented Sep 23, 2025

What?

Fixes #802. This pr fixes the alignment of the clear and drop down button within mt-select

Why?

Currently when a suffix is added to the select, the clear and down button appear on top of the suffix making them difficult to use and a visual error.
Screenshot 2025-09-22 at 19 45 22

How?

I've replaced the absolute positioning with flex, so that the buttons move when suffix is added.

@vercel
Copy link

vercel bot commented Sep 23, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
meteor-component-library Ready Ready Preview Comment Oct 7, 2025 6:02pm

Copy link
Contributor

@Haberkamp Haberkamp left a comment

Choose a reason for hiding this comment

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

Ideally, we should do this via CSS, but I get why you chose this solution.

For a ideal solution, we would need to make major adjustments to the component and strip out the base field.

@Haberkamp Haberkamp merged commit 462f4db into main Oct 8, 2025
9 checks passed
@Haberkamp Haberkamp deleted the fix/clear-button-alignment-select branch October 8, 2025 07:57
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.

Open indicator in mt-select looks off when suffix is shown

3 participants