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(icon-button): Fix position when used as TextFieldIcon #4575

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

fix(icon-button): Fix position when used as TextFieldIcon #4575

wants to merge 7 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Apr 8, 2019

Fixes #4059

This PR fixes the position issue that occurs when an IconButton is used as a TextFieldIcon.
It does so by adding negative margin equal to the padding to the IconButton in this particular situation.

Fixes #4059 

This PR fixes the position issue that occurs when an IconButton is used as a TextFieldIcon.
It does so by adding negative margin equal to the padding to the IconButton in this particular situation.
@abhiomkar
Copy link
Collaborator

I’m closing this pull request for now because of inactivity.

@sdomenet we can always reopen it though! :)

If you need any help, please feel free to open a GitHub issue.

@abhiomkar abhiomkar closed this May 3, 2019
@ghost ghost deleted the patch-1 branch May 4, 2019 01:53
@ghost ghost restored the patch-1 branch May 6, 2019 15:27
Stéphane Domenet added 2 commits May 14, 2019 17:10
@ghost
Copy link
Author

ghost commented May 14, 2019

I would like to submit another commit to solve that issue, can I do that here or should I create a new PR?

@abhiomkar
Copy link
Collaborator

Please commit to same PR. Thanks!

@abhiomkar abhiomkar reopened this May 15, 2019
@codecov-io
Copy link

codecov-io commented May 15, 2019

Codecov Report

Merging #4575 into master will increase coverage by 0.3%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #4575     +/-   ##
=========================================
+ Coverage   98.96%   99.26%   +0.3%     
=========================================
  Files         129      129             
  Lines        6294     6294             
  Branches      821      821             
=========================================
+ Hits         6229     6248     +19     
+ Misses         64       45     -19     
  Partials        1        1
Impacted Files Coverage Δ
packages/mdc-textfield/foundation.ts 100% <0%> (ø) ⬆️
packages/mdc-checkbox/component.ts 96.84% <0%> (+1.05%) ⬆️
packages/mdc-tab/component.ts 98.36% <0%> (+3.27%) ⬆️
packages/mdc-base/component.ts 100% <0%> (+3.57%) ⬆️
packages/mdc-ripple/component.ts 100% <0%> (+3.84%) ⬆️
packages/mdc-ripple/util.ts 98% <0%> (+4%) ⬆️
packages/mdc-auto-init/index.ts 100% <0%> (+4.54%) ⬆️
packages/mdc-tabs/tab/component.ts 100% <0%> (+5%) ⬆️
packages/mdc-switch/component.ts 98.24% <0%> (+7.01%) ⬆️
packages/mdc-radio/component.ts 95.74% <0%> (+8.51%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 252009f...d15c732. Read the comment docs.

Copy link
Contributor

@moog16 moog16 left a comment

Choose a reason for hiding this comment

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

I created some screenshot tests for you. The dense-leading-mdc-icon.html is failing. Please a search for mdc-textfield__icon under packages/mdc-textfield. You should also add cases for mdc-icon-button in most/all of those areas.

classes.tar.gz

@anlexN
Copy link

anlexN commented Jul 10, 2022

can we solve PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MDC Textfield: Add support for leading / trailing icon button in text field
5 participants