Code Monkey home page Code Monkey logo

Comments (11)

chetanmadaan avatar chetanmadaan commented on July 28, 2024 1

Related to #62 and should be fixed as part of it.

Thanks again for taking a very through look at Astroid.

Thanks,
Chetan

from astroid-framework.

Nishtha003 avatar Nishtha003 commented on July 28, 2024 1

Tried recreating this one but didn't face any issue: https://www.screencast.com/t/jPElFBv5qsH

from astroid-framework.

shoulders avatar shoulders commented on July 28, 2024 1

I will have a another look

from astroid-framework.

chetanmadaan avatar chetanmadaan commented on July 28, 2024 1

Thanks @Nishtha003 and @chandanndeep for your opinion too :).

from astroid-framework.

shoulders avatar shoulders commented on July 28, 2024

After a bit of research

  • Google Chrome 75.0.3770.142 = ok
  • Firefox 68.0 = still has the same problem
  • Firefox 68.0 (safe mode) = still has the same problem

So it looks like Firefox is the culprit.

from astroid-framework.

shoulders avatar shoulders commented on July 28, 2024

I can confirm the above on a fresh copy of windows 1903 and fresh copies of firefox and chrome. The results are the same.

Astroid v2.2.3

from astroid-framework.

chetanmadaan avatar chetanmadaan commented on July 28, 2024

@Nishtha003 back to you.

from astroid-framework.

Nishtha003 avatar Nishtha003 commented on July 28, 2024

@shoulders Yes you are right it is there, but this feature is provided by Firefox and not us Joomdev peeps.
Firefox has this option that using the Backspace key one can go back to the previous page and that's what's happening here.

from astroid-framework.

chetanmadaan avatar chetanmadaan commented on July 28, 2024

@Nishtha003 as far as I could recall. It existed in all browsers until chrome decided to take it out.
https://www.reddit.com/r/google/comments/4k5kqi/chrome_removes_backspace_to_go_back/

@shoulders but we can't really do anything about it.

from astroid-framework.

shoulders avatar shoulders commented on July 28, 2024

@ Nishtha003 You learn something everyday. This is one of the most stupid things I have come across. In the world of AJAX this is a massive potential for loosing data becasue people dont always keep an eye out on what they last clicked. At least Google have removed it.

@chetanmadaan is there no way to bind a NULL function to the backspace key when not in input focus? Or something along these lines: https://stackoverflow.com/questions/1495219/how-can-i-prevent-the-backspace-key-from-navigating-back

If this issue cannot be progressed any further because of this new information then I would be happy for it to be closed.

from astroid-framework.

chetanmadaan avatar chetanmadaan commented on July 28, 2024

@shoulders I think I may have a fix for this.

We already display a warning to the user if the user tried to close the tab before saving changes or even reload back. I think we can use window.onbeforeunload for any unsaved changes.

demo here: http://jsfiddle.net/vaibviad/bMgpc/249/ You are warned before going back, reloading or using backspace button on firefox too.

We'll implement this. Thanks for your commitment towards making Astroid better Jon.

from astroid-framework.

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.