Giter Club home page Giter Club logo

Comments (16)

infeng avatar infeng commented on May 26, 2024 1

Try 2.3.4.

from react-viewer.

infeng avatar infeng commented on May 26, 2024

When Viewer show, scrollbar should be hidden.

from react-viewer.

infeng avatar infeng commented on May 26, 2024

Fixed in 2.3.2 .

from react-viewer.

SiminWang1010 avatar SiminWang1010 commented on May 26, 2024

Viewer positioning error. When view show after page scroll, it should be fixed in viewport rather than page top.

from react-viewer.

SiminWang1010 avatar SiminWang1010 commented on May 26, 2024

For a prefect experience, viewer should be closed entirely before scrollbar show. It just a suggestion.

from react-viewer.

infeng avatar infeng commented on May 26, 2024

Try 2.3.3.

from react-viewer.

SiminWang1010 avatar SiminWang1010 commented on May 26, 2024

Maybe you change something cause image be scrolled to left and zoomed in by mouse scrolling now. you can test it in demo.

from react-viewer.

infeng avatar infeng commented on May 26, 2024

Can you provide a gif?

from react-viewer.

SiminWang1010 avatar SiminWang1010 commented on May 26, 2024
<div style={{paddingBottom:'800px'}}>
          <button onClick={() => { this.setState({ visible: !this.state.visible }); } }>show</button>
          <Viewer
              visible={this.state.visible}
              onClose={() => { this.setState({ visible: false }); } }
              images={[{src: 'https://raw.githubusercontent.com/infeng/react-viewer/master/demo/images/image4.jpg', alt: '测试'}]}
          />
</div>

[email protected]:
gif

[email protected]
2 3 2

from react-viewer.

infeng avatar infeng commented on May 26, 2024

@SiminWong I want to know your browser version.

from react-viewer.

SiminWang1010 avatar SiminWang1010 commented on May 26, 2024

chrome 64.0.3282.140

from react-viewer.

infeng avatar infeng commented on May 26, 2024

Sorry, I can`t reappear.

from react-viewer.

SiminWang1010 avatar SiminWang1010 commented on May 26, 2024

Oh, I find it. When you working with two monitors, It work well at major one but not at the second. I wonder why it can work well at version 2.3.2. Do you have any ideas?

from react-viewer.

infeng avatar infeng commented on May 26, 2024

Get it, I will fix.

from react-viewer.

SiminWang1010 avatar SiminWang1010 commented on May 26, 2024

thank you so much.

from react-viewer.

SiminWang1010 avatar SiminWang1010 commented on May 26, 2024

Perfect, thanks!

from react-viewer.

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.