-
Notifications
You must be signed in to change notification settings - Fork 177
after material 5.0 upgrade (from 5.0rc1) labels don't move on material inputs #164
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
Comments
"fixed" if using this package.json config:
|
this may be related ?: fix(input): Add pure-CSS floating label logic that will work on... (context: https://github.com/angular/material2/releases under 5.0.0-rc.3 Bug Fixes: input: Add pure-CSS floating label logic that will work on... ) |
I am seeing this also... and have noticed the following:
So, it appears something is restricting the change detection and material does not fully realize that the inputs are being selected. |
I'm guessing then that the inputs aren't surrounded by
As the placeholder just stays even after inputs are triggered I think this indeed is the underlying issue. Though point 1 might help too. I haven't really inspected the code properly so I don't either know why this is happening. |
Issue type
I'm submitting a (check one):
[X] Regression (something that used to work, but stopped working in a newer version)
Prerequisites
Before posting, make sure you do the following (check all):
[X] Confirm you are using the latest versions of all necessary packages (or if not, explain why not)
[X] Search GitHub for a similar issue or PR
[X] If submitting a Support request, also search [Stack Overflow][stack-overflow] for similar issues
Note: Please cross-post GitHub support requests to [Stack Overflow][stack-overflow], and include a link in your GitHub issue to your Stack Overflow question. We do currently respond to support requests on GitHub, but we eventually expect to stop, and will then refer all support questions exclusively to Stack Overflow.
Current behavior
Usted to work as expected on all material inputs, but now the labels do not push up when receiving input onto them.
Expected behavior
Should go as it always did with the material inputs
IMPORTANT: How can we reproduce your problem?
Environment
OS name & version:
OSX, high sierra
Browser name & version:
Chrome 63.0.3239.84 (Official Build) (64-bit)
Angular version:
5.0.0
Angular JSON Schema Form version(s):
^0.6.0-alpha.7
The text was updated successfully, but these errors were encountered: