Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Img reload by mouseOver

    I noticed that the Img component reloads the image on mouseOver.
    I tried setting all possible properties that could prevent this reload:

    Code:
    showFocusedAsOver: false,
    showImageFocusedAsOver: false,
    showImageRollOver: false,
    showRollOver: false,
    showOverCanvas: false,
    showRollOverIcon: false,
    canHover: false,
    showHover: false,
    But nothing worked.
    The only thing that helped was overriding the event like this:
    Code:
    mouseOver: function () { return false; }
    The reload is especially noticeable when the browser’s debug window is open.

    You can track this bug in your example here: https://smartclient.com/smartclient-...owcase/?id=img

    Version v13.1p_2025-09-24/Pro Deployment (2025-09-24)
    Last edited by Hirn; 26 Sep 2025, 11:21.

    #2
    Not actually true - you just have browser caching turned completely off.

    Comment


      #3
      I see what you mean — you’re talking about a network reload.
      But from my perspective, even if the image comes straight from the cache, it’s still a kind of reload, just much faster.
      Last edited by Hirn; 26 Sep 2025, 22:11.

      Comment


        #4
        Loading from cache is how basically all websites swap images. If you see any kind of noticeable delay, that means you turned caching off and you are seeing a network reload, not a reload from cache (which is so quick a human cannot see it).

        Comment

        Working...
        X