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

bug(input): Not correctly working as an Angular Element #18805

Open
jimkeecn opened this issue Mar 12, 2020 · 6 comments
Open

bug(input): Not correctly working as an Angular Element #18805

jimkeecn opened this issue Mar 12, 2020 · 6 comments
Labels
area: material/input elements This issue is related to Angular Elements and Web Components. P4 A relatively minor issue that is not relevant to core functions

Comments

@jimkeecn
Copy link

jimkeecn commented Mar 12, 2020

Reproduction

I have create a github repo for this performance issue from angular material, here is the link https://github.com/jimkeecn/buildxactDemo

the problem in the repo is. I have created an angular element with a mat-input. after building the angular element and used in other project. the mat-input is buggy, the placeholder will not move up while the input is focus and filled.

Steps to reproduce:

  1. download the repo.
  2. open the index.html in folder /I am outside of the project/
  3. you will see the performance of the angular material input and table.
  4. the component is actually in library project folder /search-page
  5. angular element is in external project folder /app-component

Expected Behavior

I was expecting to see the mat-input will run smooth like it running without building as angular elements.

Actual Behavior

mat-input
placeholder is not lifted up after the field is focus or filled.

Environment

  • Angular: ~9.0.3
  • Angular/elements: ^9.0.4
  • CDK/Material: ^9.1.0
  • Browser(s): Chrome
  • Operating System (e.g. Windows, macOS, Ubuntu): Windows 10
@jimkeecn jimkeecn added the needs triage This issue needs to be triaged by the team label Mar 12, 2020
@jimkeecn
Copy link
Author

@Splaktar this is the issue I mentioned.

@jimkeecn jimkeecn changed the title bug([COMPONENT]): [TITLE] bug(Mat-Input/Mat-Table): style messy and buggy with angular element. Mar 12, 2020
@jimkeecn jimkeecn changed the title bug(Mat-Input/Mat-Table): style messy and buggy with angular element. Bug(Mat-Input/Mat-Table): style messy and buggy with angular element. Mar 12, 2020
@jimkeecn jimkeecn changed the title Bug(Mat-Input/Mat-Table): style messy and buggy with angular element. Issue(Mat-Input/Mat-Table): style messy and buggy with angular element. Mar 12, 2020
@lucaboy
Copy link

lucaboy commented Mar 12, 2020

I'm facing the same issues (Angular: 9.0.6 + CDK/Material: 9.1.2).

@Splaktar Splaktar added the elements This issue is related to Angular Elements and Web Components. label Mar 12, 2020
@Splaktar Splaktar changed the title Issue(Mat-Input/Mat-Table): style messy and buggy with angular element. bug(material/input): style messy and buggy with Angular Element Mar 12, 2020
@Splaktar
Copy link
Member

Updated the title. If you also have an issue with MatTable in an Angular Element, a separate issue would be appreciated. We don't want to get multiple issues lost in a single report.

@jimkeecn jimkeecn changed the title bug(material/input): style messy and buggy with Angular Element bug(material/input): style messy and buggy with Angular Mat-Input Mar 16, 2020
@jimkeecn
Copy link
Author

any update on this one??

@Splaktar
Copy link
Member

@jimkeecn no, sorry. It hasn't been triaged yet, so I'm not sure what priority it will have.

@jimkeecn
Copy link
Author

@Splaktar No problem

@andrewseguin andrewseguin changed the title bug(material/input): style messy and buggy with Angular Mat-Input bug(input): Not correctly working as an Angular Element May 26, 2020
@andrewseguin andrewseguin added area: material/input P4 A relatively minor issue that is not relevant to core functions and removed needs triage This issue needs to be triaged by the team labels May 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: material/input elements This issue is related to Angular Elements and Web Components. P4 A relatively minor issue that is not relevant to core functions
Projects
None yet
Development

No branches or pull requests

4 participants