I tried the new Steps component in Ultima which came in the recent update and looks like it's not working as expected.Here is a screenshot of how it looks like https://www.dropbox.com/s/iixq9mcqovh9m ... 1%20PM.png.
I used the same code which is used in the primeng docs.Is anyone else facing the same issue ?
Steps component not working
Forum rules
Please note that response time for technical support is within 3-5 business days.
Please note that response time for technical support is within 3-5 business days.
-
- Posts: 1
- Joined: 22 Feb 2016, 12:06
I have the same problem. Anybody can help us?
-
- Posts: 4
- Joined: 26 Nov 2016, 10:47
I got around the issue with a temporary fix:
Add the styles property to the @Component attribute as follows (I have 5 steps - change the width % to (100 / number of steps))
Note the use of the :host /deep/ special selectors (Angular 2 specific)
Hope this helps.
Add the styles property to the @Component attribute as follows (I have 5 steps - change the width % to (100 / number of steps))
Note the use of the :host /deep/ special selectors (Angular 2 specific)
Code: Select all
@Component({
selector: "my-component",
styles: [`
:host /deep/ .ui-steps .ui-steps-item {
width: 20%;
}
`],
templateUrl: "./templates/my-component.component.html"
})
I will review it get back to you.
Hi,
Is there any problem with the latest version? This is how it looks locally.
http://pasteboard.co/4YCanblI3.png
Regards
Is there any problem with the latest version? This is how it looks locally.
http://pasteboard.co/4YCanblI3.png
Regards
Hi,
i have the problem that the width between the steps not will be set in the css.
How to see here:
https://sites.google.com/site/hosterbil ... /Steps.png
I work with the ultima Version: 2.1.0
The fix from "willem.sevenster" works fine but i hope that will be intergrate in later versions, so that i don't need to set this one every step component.
Regards
i have the problem that the width between the steps not will be set in the css.
How to see here:
https://sites.google.com/site/hosterbil ... /Steps.png
I work with the ultima Version: 2.1.0
The fix from "willem.sevenster" works fine but i hope that will be intergrate in later versions, so that i don't need to set this one every step component.
Regards
Hi,
I will investigate this and take a look at Willem's solution.
Regards
I will investigate this and take a look at Willem's solution.
Regards
-
- Information
-
Who is online
Users browsing this forum: No registered users and 13 guests