GithubHelp home page GithubHelp logo

Comments (11)

MinJieLiu avatar MinJieLiu commented on May 13, 2024

使用 transform:
image

使用 width/height:
image

放到最大,两者看起来没什么差别

from react-photo-view.

little-buddy avatar little-buddy commented on May 13, 2024

@MinJieLiu
作者给出的例子图片只有528b,所以看起来会无差
如果你打开的是一张 8M 的高清图片,你就会明白为什么要放弃 scale

还有
很好奇作者的项目是部署在哪里的,即使科学上网打开的速度还是很慢,愁人😂

from react-photo-view.

MinJieLiu avatar MinJieLiu commented on May 13, 2024

图片部署在 github 上。我试了10M的图片,依然很清晰,你是在什么浏览器上预览的呢?

from react-photo-view.

little-buddy avatar little-buddy commented on May 13, 2024

微信手机里打开,scale的放大是会失真的。作者的尝试应该是初始的图片展示就比较大吧。
还有,我的pr那样改会造成 动画闪动吗?我这边怎么没发生?

from react-photo-view.

little-buddy avatar little-buddy commented on May 13, 2024

目前验证到,android手机似乎没这个问题,而iOS是存在的且不同机型表现也不太一样,11下通过微信打开比较明显

from react-photo-view.

fubd avatar fubd commented on May 13, 2024

放大的时候会变模糊 然后会很快变清晰 Android上也有这个问题 via浏览器

from react-photo-view.

ximouzhao avatar ximouzhao commented on May 13, 2024

嗯,ios放大的时候严重模糊,不管是safari还是chrome

from react-photo-view.

houxd1992 avatar houxd1992 commented on May 13, 2024

请问这个问题目前有好的解决方案了么

from react-photo-view.

MinJieLiu avatar MinJieLiu commented on May 13, 2024

@houxd1992 目前还没有,等下个版本,我会重构下

from react-photo-view.

chuyun avatar chuyun commented on May 13, 2024

@houxd1992 目前还没有,等下个版本,我会重构下

问题能先解决下么?

from react-photo-view.

MinJieLiu avatar MinJieLiu commented on May 13, 2024

0.5.7

from react-photo-view.

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.