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

Input gets stuck in focused mode when disabled on Firefox #8634

Closed
benelliott opened this issue Nov 24, 2017 · 1 comment · Fixed by #8637
Closed

Input gets stuck in focused mode when disabled on Firefox #8634

benelliott opened this issue Nov 24, 2017 · 1 comment · Fixed by #8637
Assignees
Labels
P4 A relatively minor issue that is not relevant to core functions

Comments

@benelliott
Copy link
Contributor

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/uDmqyY

StackBlitz starter (using latest npm release): https://goo.gl/wwnhMV

Plunker: 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?

@crisbeto crisbeto self-assigned this Nov 24, 2017
@crisbeto 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.
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
P4 A relatively minor issue that is not relevant to core functions
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants