I want to fetch assets from a service, then set the asset data as the "items" property of px-breadcrumbs. When I do this the breadcrumbs do not display. (widths is zero.) If I set a fixed with in pixels, then breadcrumbs will display.
Steps to reproduce the problem:
Try setting the "items" property with javascript, using a setTimeout function to delay.
Environment
latest version. chrome 60.
Screenshots (optional, but very helpful):
Code examples help us better understand the issue
Tried to use codepen, but it didn't work. Probably need to redraw the component after "items" property is set.
Expected behavior and actual behavior:
I want to fetch assets from a service, then set the asset data as the "items" property of px-breadcrumbs. When I do this the breadcrumbs do not display. (widths is zero.) If I set a fixed with in pixels, then breadcrumbs will display.
Steps to reproduce the problem:
Try setting the "items" property with javascript, using a setTimeout function to delay.
Environment
latest version. chrome 60.
Screenshots (optional, but very helpful):
Code examples help us better understand the issue
Tried to use codepen, but it didn't work. Probably need to redraw the component after "items" property is set.