stalactite icon indicating copy to clipboard operation
stalactite copied to clipboard

Opacity 0

Open kaspar-allenbach opened this issue 11 years ago • 20 comments

Hi. I have a strange behaviour of stalactite.

It aranges the elements propery but leaves the elements opacity on 0. So all I see is the load animation and a blank pace, altough everything is at its place.

kaspar-allenbach avatar Dec 05 '13 15:12 kaspar-allenbach

I'm sorry to hear that! Do you have a link so maybe I could help you debug this issue?

jonobr1 avatar Dec 05 '13 15:12 jonobr1

Unfortunately I'm in local production. All I can say is, that after some 30 seconds the stalactite items are visible. That's a little bit too long ;)

kaspar-allenbach avatar Dec 05 '13 15:12 kaspar-allenbach

Roughly how many elements are you trying to sort?

On Thursday, December 5, 2013, Seppentoni wrote:

Unfortunately I'm in local production. All I can say is, that after some 30 seconds the stalactite items are visible. That's a little bit too long ;)

— Reply to this email directly or view it on GitHubhttps://github.com/jonobr1/stalactite/issues/5#issuecomment-29908340 .

http://jonobr1.com/

jonobr1 avatar Dec 05 '13 17:12 jonobr1

It's about 8 stalactite divs. But inside each stalactite item are quite a bunch of texts, imgs and video links + image links.

Is this too heavy for stalactite?

kaspar-allenbach avatar Dec 05 '13 17:12 kaspar-allenbach

Ahh, I think the issue is that stalactite may be waiting for all that content to load before it reveals itself. Let me double check a few things and get back to you.

On Thu, Dec 5, 2013 at 9:22 AM, Seppentoni [email protected] wrote:

It's about 8 stalactite divs. But inside each stalactite item are quite a bunch of texts, imgs and video links + image links.

Is this too heavy for stalactite?

— Reply to this email directly or view it on GitHubhttps://github.com/jonobr1/stalactite/issues/5#issuecomment-29917741 .

http://jonobr1.com/

jonobr1 avatar Dec 05 '13 17:12 jonobr1

So to follow up, if you're using the latest version of stalactite found on the master branch then the items should fade in regardless of if they're loaded or not. As a result without a demo to look at it, it's pretty hard to diagnose your problem...

jonobr1 avatar Dec 05 '13 17:12 jonobr1

Yeah true. I've guessed that some lightbox lazy loader causes an interference. But this has proven false. I'll put it online tomorrow. But maybe I'll figure it out.

kaspar-allenbach avatar Dec 05 '13 17:12 kaspar-allenbach

Cool, please update me if you do put it online.

jonobr1 avatar Dec 05 '13 18:12 jonobr1

Ok. The site is running: And it gets weirder and weirder.

What I tried:

  • Remove every other script.
  • Remove all content inside .stalactite except for one p tag

I thought it could be some youtube embed scripts interfering because its a iframe lightbox inside. But that wasn't the case.

But the weirdest thing:

If I reload the page, and then open firebug the stalactite elements become visible ??? There must be some interference with something but I can't see what.

http://outreachgmbh.ch/de/projekte/

kaspar-allenbach avatar Dec 05 '13 20:12 kaspar-allenbach

Thanks for sharing! This helps a lot. First thing I noticed is that it works fine in Chrome and not in Firefox. I'll look into this further.

On Thu, Dec 5, 2013 at 12:08 PM, Seppentoni [email protected]:

Ok. The site is running: And it gets weirder and weirder.

What I tried:

  • Remove every other script.
  • Remove all content inside .stalactite except for one p tag

I thought it could be some youtube embed scripts interfering because its a iframe lightbox inside. But that wasn't the case.

But the weirdest thing:

If I reload the page, and then open firebug the stalactite elements become visible ??? There must be some interference with something but I can't see what.

http://outreachgmbh.ch/de/projekte/

— Reply to this email directly or view it on GitHubhttps://github.com/jonobr1/stalactite/issues/5#issuecomment-29932968 .

http://jonobr1.com/

jonobr1 avatar Dec 05 '13 20:12 jonobr1

Are you using Masonry as well? I noticed the container div is called masonry.

jonobr1 avatar Dec 05 '13 20:12 jonobr1

No. I was using it at an early stage. But most of the time masonry is overkill. So I wanter something simple and small.

kaspar-allenbach avatar Dec 05 '13 21:12 kaspar-allenbach

Gotcha. I'll be able to debug this further tonight. Keep you posted.

jonobr1 avatar Dec 05 '13 22:12 jonobr1

Sorry for the delay. I have some time now to look into this, but noticed your link is "Offline". I'd be happy to debug if you put it back up.

jonobr1 avatar Dec 18 '13 21:12 jonobr1

Hi Jono.

Okay, thanks. I've put it back up.

Am 18.12.2013 um 22:57 schrieb Jono Brandel [email protected]:

Sorry for the delay. I have some time now to look into this, but noticed your link is "Offline". I'd be happy to debug if you put it back up.

— Reply to this email directly or view it on GitHub.

kaspar-allenbach avatar Dec 19 '13 13:12 kaspar-allenbach

Hmmm, I'm still seeing this offline..: screen shot 2013-12-19 at 5 33 52 pm

jonobr1 avatar Dec 20 '13 01:12 jonobr1

No its online: http://outreachgmbh.ch/de/projekte

Kaspar Allenbach Visuelle Kommunikation

[email protected] http://www.kasparallenbach.ch

078 860 53 32

Dammweg 41 3013 Bern

Am 20.12.2013 um 02:34 schrieb Jono Brandel [email protected]:

Hmmm, I'm still seeing this offline..:

— Reply to this email directly or view it on GitHub.

kaspar-allenbach avatar Dec 20 '13 10:12 kaspar-allenbach

In your app have you tried calling $('#masonry').stalactite(); last?

It's hard to tell, but are these different blocks being stacked dynamically generated on the server or the client? I downloaded the contents of this page and ran it locally and it was fine. This leads me to believe it's an asynchronous issue with loading some type of content on Firefox...

jonobr1 avatar Dec 20 '13 23:12 jonobr1

Yeah they are generated on the server by the cms. Do you think this is the issue? But isn't it impossible that the js is executed before the cmd parsing??

However. My client wanted to see results so I had to move back to masonry. Well, next project then :)

Happy new year.

kaspar-allenbach avatar Dec 26 '13 11:12 kaspar-allenbach

Sorry I couldn't be more help. Happy Holidays

On Thu Dec 26 2013 at 3:35:31 AM, Seppentoni [email protected] wrote:

Yeah they are generated on the server by the cms. Do you think this is the issue? But isn't it impossible that the js is executed before the cmd parsing??

However. My client wanted to see results so I had to move back to masonry. Well, next project then :)

Happy new year.

— Reply to this email directly or view it on GitHubhttps://github.com/jonobr1/stalactite/issues/5#issuecomment-31218668 .

jonobr1 avatar Dec 26 '13 16:12 jonobr1