No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Q-img load event

    Help
    2
    2
    185
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • X
      xdesai last edited by

      Hi, I’m not sure the @load event on q-img is working correctly. My understanding is that it would be fired once the src provided had been loaded by the underlying image. However it seems to fire before the src has actually been loaded.

      You can see the problem here: https://codepen.io/xariusdesai/pen/eYBRwmE

      If you uncomment line 19 in the JS, the url is revoked before the image is loaded by q-img and never shows. This works fine if I use a normal img element, but it doesn’t have the nice other features that q-img does.

      Any ideas?

      dobbel 1 Reply Last reply Reply Quote 0
      • dobbel
        dobbel @xdesai last edited by

        @xdesai

        Yes I see the problem.

        You could create a github issue for this.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post