dry-stone-layout icon indicating copy to clipboard operation
dry-stone-layout copied to clipboard

performance question

Open btopro opened this issue 8 years ago • 2 comments

Any idea as to why when I'd to go fire up a page that has

<dry-stone-layout target-height="90" spacing="1">
  <img src="demo/14117348070_bbf190b521_m.jpg" width="240" height="163">
  <img src="demo/28738913666_d7f288ae25_m.jpg" width="240" height="180">
  <img src="demo/28808871375_dc652d8972_m.jpg" width="160" height="240">
  <img src="demo/31782510030_579cb5119a_m.jpg" width="240" height="179">
  <img src="demo/32039394161_2cfc04b72a_m.jpg" width="180" height="240">
  <img src="demo/32061810663_2249492d02_m.jpg" width="240" height="162">
  <img src="demo/32357716254_42aa3b0663_m.jpg" width="240" height="159">
  <img src="demo/28686254682_185a028e2e_m.jpg" width="159" height="240">
  <img src="demo/32260967565_7f88cb6a4c_m.jpg" width="240" height="171">
  <img src="demo/32186892504_d99b0ffc1e_m.jpg" width="240" height="159">
  <img src="demo/32363556052_87007c3440_m.jpg" width="240" height="158">
  <img src="demo/32400954515_cdb6b12bf2_m.jpg" width="158" height="240">
  <img src="demo/32873865786_1c825895f3_m.jpg" width="240" height="145">
  <img src="demo/33001221391_6afee89be5_m.jpg" width="240" height="159">
  <img src="demo/33186065675_95b54548da_m.jpg" width="240" height="120">
</dry-stone-layout>

in it that it would basically crash chrome? If I take this block out of the one page app it shows up instantly... head scratcher here...

btopro avatar May 22 '17 15:05 btopro

Hard to tell without knowing what else might be on the page.

I'm just working to update all my elements to be pure WebComponents so they can be used with or without Polymer (script src or html imports). I've tidied a few things up as part of that so if it is an issue with the element it might already have been fixed but we can definitely test it out when it's ready to make sure.

CaptainCodeman avatar May 22 '17 18:05 CaptainCodeman

ahh ok. thx for the response. I'll give it a shot once it's a pure component. We load our one page apps into a CMS to render but I'm not sure why just adding the tag to the page would cause issues; maybe because it would process with no elements and then make an ajax call to load it's data but dono.

btopro avatar May 22 '17 18:05 btopro