Giter Club home page Giter Club logo

Comments (4)

theKashey avatar theKashey commented on June 16, 2024 5

An update to focus-lock(0.11.6) and react-focus-lock(2.9.4) has been released.

There is still no test securing the right behaviour as JSDOM does not support cross-origin security concerns - jsdom/jsdom#1892

I will add real Browser tests, at least a few, shortly - #242

from react-focus-lock.

theKashey avatar theKashey commented on June 16, 2024 1

Yep, you cannot and that's a serious regression. Look like I've broken internet one another time 🎉

from react-focus-lock.

nebrius avatar nebrius commented on June 16, 2024

We ran into this issue too, but pinning focus-lock to version 0.11.3 worked around the issue for us. Looking forward to the fix when you get a chance, and thanks for your work!

from react-focus-lock.

chekrd avatar chekrd commented on June 16, 2024

Yes, because react-focus-lock has dependency "focus-lock": "^0.doesNotMatter", all versions of react-focus-lock can be affected. The issue should be moved into the focus-lock repository.

The workaround is to install explicit versions in your package.json:
"react-focus-lock": "2.9.2", ([email protected] requires focus-lock of version ^0.11.5)
"focus-lock": "0.11.4"

from react-focus-lock.

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.