Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Icon Button in Dialog box never remove focus after click #5046

Closed
zishanj opened this issue Oct 7, 2015 · 5 comments
Closed

Icon Button in Dialog box never remove focus after click #5046

zishanj opened this issue Oct 7, 2015 · 5 comments
Assignees
Labels
needs: demo A CodePen demo or GitHub repository is needed to demonstrate the reproduction of the issue needs: more info The issue does not contain enough information for the team to determine if it is a real bug
Milestone

Comments

@zishanj
Copy link

zishanj commented Oct 7, 2015

I am using md-icon button inside md-dialog box. After I click the icon button the dark ripple around the button doesn't remove unless I click somewhere else to lose the focus. Is there any workaround to this?

@zishanj zishanj changed the title Icon Button in Dialog box never lose focus after click Icon Button in Dialog box never remove focus after click Oct 7, 2015
@zishanj
Copy link
Author

zishanj commented Oct 7, 2015

I have further checked it and it seems like the dark circle surrounding the icon is appearing outside the dialog box also. It remains there until I lose the focus to the icon button.

@EladBezalel
Copy link
Member

please provide a codepen so we can investigate more

@EladBezalel EladBezalel added needs: demo A CodePen demo or GitHub repository is needed to demonstrate the reproduction of the issue needs: more info The issue does not contain enough information for the team to determine if it is a real bug labels Nov 2, 2015
@EladBezalel EladBezalel modified the milestones: 1.0-rc4, 1.0-rc3, 1.0-rc5 Nov 7, 2015
@EladBezalel
Copy link
Member

Closed due to inactivity, if it's still occurring please write here and i'll open this issue.

@clvcooke
Copy link

Still seeing this issue as of rc7. Here is a codepen, its an image button (but I couldn't upload an image): http://codepen.io/clvcooke/pen/jWbGmB

Steps to reproduce:

  • Click the button (above the click text)
  • Left sidenav will appear
  • Unfocus sidenav and autohide it by clicking on the main content area
  • Button still has highlighting

image

This is also happening on the main angular material website and can be reproduce with the same steps.

@EladBezalel
Copy link
Member

dup #5434

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs: demo A CodePen demo or GitHub repository is needed to demonstrate the reproduction of the issue needs: more info The issue does not contain enough information for the team to determine if it is a real bug
Projects
None yet
Development

No branches or pull requests

4 participants