Coder Social home page Coder Social logo

Comments (11)

ArunMichaelDsouza avatar ArunMichaelDsouza commented on July 17, 2024

Hi, apologies for the late reply. Are you still working on it ?

from ng-image-appear.

luchusnet avatar luchusnet commented on July 17, 2024

Same problem here!

from ng-image-appear.

ArunMichaelDsouza avatar ArunMichaelDsouza commented on July 17, 2024

@luchusnet which version of AngularJS are you using ?

from ng-image-appear.

ArunMichaelDsouza avatar ArunMichaelDsouza commented on July 17, 2024

Closing due to inactivity.

from ng-image-appear.

nisharamj avatar nisharamj commented on July 17, 2024

I have also noticed that the problem @darkterra has mentioned in the title. The cause is it's trying to load the image before image data arrives. You can resolve this by applying a condition to the tag to prevent loading it before the data arrives.

from ng-image-appear.

ArunMichaelDsouza avatar ArunMichaelDsouza commented on July 17, 2024

@nisharamj, would really appreciate a PR if you have the time!

from ng-image-appear.

nisharamj avatar nisharamj commented on July 17, 2024

@ArunMichaelDsouza Please note that the fix I have suggested can be applied externally to the HTML tag. I couldn't find a permanent solution to fix this issue in the library.

from ng-image-appear.

Moouren avatar Moouren commented on July 17, 2024

Same problem , it would be great if got fixed !

from ng-image-appear.

ArunMichaelDsouza avatar ArunMichaelDsouza commented on July 17, 2024

Can you please mention the steps to replicate the issue or perhaps share a link to a codepen or jsfiddle example that I can look at.

from ng-image-appear.

Moouren avatar Moouren commented on July 17, 2024

when use with ng-repeat have same error in console and a temporary solution is have a extra parent , otherwise main tag lost.
<div class="background-image" ng-repeat="promotion in storeMainCtrl.mainPage.feature_game track by $index" finish-render-init-owl-main-slider=""> <a class="special-main-img-container db" ui-sref="gamepage({gameId:promotion.id,gameName:promotion.name})" ng-click="storeMainCtrl.weTrackUBanner(promotion.id)"> <div class="image-container"> <img class="special-main-img-container_img" src="{{storeMainCtrl.globalVariables.urls.fileUploadUrlX}}/{{promotion.feature_image}}{{storeMainCtrl.globalVariables.imageSizesX.s800}}{{storeMainCtrl.globalVariables.imageQualityX.q80}}" alt="featureImage" ng-image-appear responsive transition-duration="0.5s" animation="fillIn" animation-duration="0.5s" easing="ease-out" bg-color="#191B26" no-loader ng-attr-title="{{promotion.name}}"> </div>
this is my code.
i use it in different situations and have the same error.

from ng-image-appear.

morteza-gho avatar morteza-gho commented on July 17, 2024

Use ng-if for parent:

 <div ng-if="condition">
      <img ng-src="imgPath" ng-image-appear>
 </div>

from ng-image-appear.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.