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

Component not showing in Ionic Angular project #32

Closed
Phoenix-Alpha opened this issue Apr 5, 2021 · 2 comments
Closed

Component not showing in Ionic Angular project #32

Phoenix-Alpha opened this issue Apr 5, 2021 · 2 comments

Comments

@Phoenix-Alpha
Copy link

Phoenix-Alpha commented Apr 5, 2021

I want to use this component for my Ionic Angular app but when I installed it, imported it to app, it is not showing.
As I check, there is only code-input component(no children elements) and it's size is 0.

There are some info for packages used for my project.
"@angular/common": "~11.2.0",
"@angular/core": "~11.2.0",
"@angular/forms": "~11.2.0",
"@angular/platform-browser": "~11.2.0",
"@angular/platform-browser-dynamic": "~11.2.0",
"@angular/router": "~11.2.0",
"@ionic/angular": "^5.5.2",
"angular-code-input": "^1.4.0",
"tslib": "^2.0.0",

Could you help me?

image

@AlexMiniApps
Copy link
Owner

@Phoenix-Alpha I will check

@AlexMiniApps
Copy link
Owner

AlexMiniApps commented Apr 6, 2021

@Phoenix-Alpha Just installed latest fresh ionic and added there angular-code-input. It works as expected.
I guess the problem is that the component has the computed style as inline instead of the flex.
image

Try to adjust the component style inside the ion-col via scss(css):

code-input {
display: flex !important;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants