Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: classname placement on Input #702

Merged
merged 6 commits into from
Sep 18, 2024
Merged

Conversation

LimeWub
Copy link
Contributor

@LimeWub LimeWub commented Sep 17, 2024

classNames passed into Input were being added to InputText (the field) and not the wrapping InputBackground.
This is a problem when it comes to adding spacing or handling sizing either with styled or css from the parent as it skips a div.

Placement on the InputBackground which is the outer element should be more correct.

The SearchInput component was affected by this change, with the area where the icon is placed not being clickable anymore (click through to input for edit). This was amended via slight restructuring and now the component should have no visual or functional changes. ( 4a5f1ca )

This work is required for PR: #703

@LimeWub LimeWub self-assigned this Sep 17, 2024
@LimeWub LimeWub force-pushed the fix/input-classname-placement branch from d8c958e to 09d3c91 Compare September 17, 2024 10:22
@LimeWub LimeWub requested review from Mhoog, Marcdup1, mzeenkala23, miaambt, a team and CarlosTrapet and removed request for a team September 18, 2024 08:14
@LimeWub LimeWub added the bug Something isn't working label Sep 18, 2024
@LimeWub LimeWub changed the base branch from main to feat/focus-visible-style-block-allow-boxShadow-to-be-passed-in September 18, 2024 08:14
@LimeWub LimeWub marked this pull request as ready for review September 18, 2024 08:55
Base automatically changed from feat/focus-visible-style-block-allow-boxShadow-to-be-passed-in to main September 18, 2024 10:33
@LimeWub LimeWub merged commit f6a6aae into main Sep 18, 2024
1 check passed
@LimeWub LimeWub deleted the fix/input-classname-placement branch September 18, 2024 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants