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

step stay on top left #59

Closed
Benoit-ROBIN opened this issue Oct 30, 2017 · 2 comments
Closed

step stay on top left #59

Benoit-ROBIN opened this issue Oct 30, 2017 · 2 comments

Comments

@Benoit-ROBIN
Copy link

Benoit-ROBIN commented Oct 30, 2017

Hi
After severals brains explosions I succesfully install your library on my ionic project and it works except for "step card" placement. They stay on top left of the screen instead of follow the element wich they are linked. I didn't read anything in your doc about that.

package.json
"dependencies": { "@angular/animations": "4.4.4", "@angular/cdk": "2.0.0-beta.12", "@angular/common": "4.4.4", "@angular/compiler": "4.4.4", "@angular/compiler-cli": "4.4.4", "@angular/core": "4.4.4", "@angular/forms": "4.4.4", "@angular/http": "4.4.4", "@angular/material": "2.0.0-beta.12", "@angular/platform-browser": "4.4.4", "@angular/platform-browser-dynamic": "4.4.4", "@ionic-native/core": "4.3.2", "@ionic-native/splash-screen": "4.3.2", "@ionic-native/status-bar": "4.3.2", "@ionic/storage": "2.0.1", "ionic-angular": "3.8.0", "ionicons": "3.0.0", "ngx-tour-md-menu": "^2.0.0-beta.12", "rxjs": "5.4.3", "sw-toolbox": "3.6.0", "zone.js": "0.8.18" }

angular/animations core http are in 4.4.4,
angular/material and cdk are in 2.0.0-beta.12

@isaacplmann
Copy link
Owner

That's probably something with the styles. Do you include the angular/material theme? Do you set a doctype on your index.html? Inspect the div.cdk-overlay-container element at the foot of the body. What is it's position css value? What about the .cdk-overlay-pane inside of it? Does the pane have correct top and left values?

@Benoit-ROBIN
Copy link
Author

position: absolute on .cdk-overlay-pane was missing.
Thanks for your help.

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

No branches or pull requests

2 participants