Coder Social home page Coder Social logo

Comments (8)

sekoyo avatar sekoyo commented on September 2, 2024

Hi is that mobile or desktop and what version? When I last checked this was working so it may be a regression or some specific combo I didn't check

from react-image-crop.

shovemedia avatar shovemedia commented on September 2, 2024

Chrome and Safari on Mac. Firefox was fine. Didn't check mobile.

from react-image-crop.

sekoyo avatar sekoyo commented on September 2, 2024

@shovemedia Safari 9 or 10?

from react-image-crop.

sekoyo avatar sekoyo commented on September 2, 2024

Just tested and works fine on Safari 10 on Mac, I'm pretty sure on 9 too. If you clone this repo, run npm i && npm start and then open demo/index.html in Safari do you have the issue? If not it could be caused by your code.

from react-image-crop.

shovemedia avatar shovemedia commented on September 2, 2024

My Safari is v9. Demo svg clippath works in both Chrome and Safari (although the programmatic state changes seem to throw JS errs?)

As it's clearly some kind of browser repaint bug, there's no telling what DOM-specifics are necessary to reliably reproduce the issue.

from react-image-crop.

sekoyo avatar sekoyo commented on September 2, 2024

I'm no longer using an SVG clipPath so this problem should be resolved

from react-image-crop.

omygodGIT avatar omygodGIT commented on September 2, 2024

What alternative did you use?

from react-image-crop.

sekoyo avatar sekoyo commented on September 2, 2024

@omygodGIT it's now using a large box-shadow - https://github.com/DominicTobias/react-image-crop/blame/master/lib/ReactCrop.scss#L53

Drawback of this method in this case is that the container needs overflow: hidden so the drag handles can't appear outside the container when dragged to the edges

from react-image-crop.

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.