Giter VIP home page Giter VIP logo

Comments (5)

caiiiycuk avatar caiiiycuk commented on August 16, 2024 1

Try to debug DOM event listeners, to see wich functions takes control

from js-dos.

caiiiycuk avatar caiiiycuk commented on August 16, 2024

Hi, js-dos dos not hijacks the navigation why do you think so?

from js-dos.

QuentinDallaserra avatar QuentinDallaserra commented on August 16, 2024

Hi :). If you go to this URL: https://staging--quentin-xyz.netlify.app/ and you click on a few different icons, you will be able to use the mouse buttons (back and forward) to navigate the history. However as soon as you open the menu on the top left and click on "Another World" the back and forward functionality from the hardware mouse ceases working (But the history itself is intact as you can use the browsers GUI back and forward, which led me to believe that it was an issue with JS-Dos or more probably emulations-ui having exclusive control of the hardware).

EDIT: You may have noticed that I overlayed the initial JS-Dos logo with a custom boot screen to match the theme of the OS otherwise it's too jarring, I fully intend on crediting JS-Dos in that initial screen but have stopped developing it for now in case the history is a bug I cannot fix)

from js-dos.

caiiiycuk avatar caiiiycuk commented on August 16, 2024

Ok, so this issue is about hardware mouse buttons? This can be because js-dos do prevent-default for mouse buttons to hide browser context menu, but this only should happen when the target of event is div with js-dos

from js-dos.

QuentinDallaserra avatar QuentinDallaserra commented on August 16, 2024

Yes that would make sense but it seems to happen once and only when JS-Dos has initialized, and then even if JS-Dos is unmounted it does not want to give back mouse previous/next controls.

While I cannot right click when focusing on the JS dos windows, I can right click outside of it. I can also use alt+left arrow to navigate the history so it all seems a bit strange.

I also previously tried to recompile emulation-ui and JS-Dos having removed references to mouse events, but I must have missed something as that did not fix it.

from js-dos.

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.