-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
Input gets stuck in focused mode when disabled on Firefox #8634
Labels
P4
A relatively minor issue that is not relevant to core functions
Comments
crisbeto
added
has pr
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
P4
A relatively minor issue that is not relevant to core functions
and removed
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
labels
Nov 24, 2017
crisbeto
added a commit
to crisbeto/material2
that referenced
this issue
Nov 24, 2017
Fixes the input element becoming stuck in its focused state, if it becomes disabled while it's in focus. Fixes angular#8634.
crisbeto
added a commit
to crisbeto/material2
that referenced
this issue
Nov 24, 2017
Fixes the input element becoming stuck in its focused state, if it becomes disabled while it's in focus. Fixes angular#8634.
crisbeto
added a commit
to crisbeto/material2
that referenced
this issue
Nov 30, 2017
Fixes the input element becoming stuck in its focused state, if it becomes disabled while it's in focus. Fixes angular#8634.
tinayuangao
pushed a commit
that referenced
this issue
Dec 1, 2017
Fixes the input element becoming stuck in its focused state, if it becomes disabled while it's in focus. Fixes #8634.
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Bug, feature request, or proposal:
If you disable an input in its focus handler, it will correctly appear as disabled on Chrome but will get stuck in its "focused mode" (floating placeholder) on Firefox 57.
What is the expected behavior?
Not to be stuck
What is the current behavior?
Gets stuck on Firefox
What are the steps to reproduce?
Providing a StackBlitz/Plunker (or similar) is the best way to get the team to see your issue.
Plunker starter (using on
@master
): https://goo.gl/uDmqyYStackBlitz starter (using latest
npm
release): https://goo.gl/wwnhMVPlunker: http://plnkr.co/edit/ldcUfXWmq7N6BU6HPcBA?p=preview
StackBlitz: https://stackblitz.com/edit/angular-material2-issue-dqxr2d?file=app/app.component.ts
What is the use-case or motivation for changing an existing behavior?
Consistency across browsers.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Master (Version: 5.0.0-rc.1-6e865b7) and 5.0.0-rc0
Is there anything else we should know?
Firefox 57 is a big change so could be a browser issue?
The text was updated successfully, but these errors were encountered: