Git Product home page Git Product logo

Comments (8)

kilik52 avatar kilik52 commented on August 18, 2024

先稍微测试了一下,是.wemark_inline_image里面的height:auto的问题。我在debug里面把height:auto关了图片就又出现了

from wemark.

TooBug avatar TooBug commented on August 18, 2024

已知,这个问题的背景是这样的:

小程序刚出现的时候不支持图片自动宽高比,所以在onload的时候有一个计算图片长宽比,然后绑定高度的逻辑。

后来微信更新了,支持了图片自动宽高比,所以这个特性就不太必要了。再后来可能微信对同一张图片做了缓存,多次访问时不再触发onload事件,所以就有了图上的bug。

我自己在一个产品中把这里改掉了,代码还需要整理一下,尽快发布新版本解决。

from wemark.

kilik52 avatar kilik52 commented on August 18, 2024

辛苦了,期待

from wemark.

TooBug avatar TooBug commented on August 18, 2024

推送到develop分支了,可以先试一下?

from wemark.

kilik52 avatar kilik52 commented on August 18, 2024

测过了,bug修复了。另外没有发现什么其他问题。

from wemark.

TooBug avatar TooBug commented on August 18, 2024

那就好。另外是否方便告知你的小程序名称或者提供小程序码,打算在README中放一个用户墙。

from wemark.

kilik52 avatar kilik52 commented on August 18, 2024

好呀,小程序正在开发中,还没上线。等上线了提供给你哈。

from wemark.

TooBug avatar TooBug commented on August 18, 2024

好的。

from wemark.

Related Issues (20)

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.