GithubHelp home page GithubHelp logo

IE10 freeze about react-datepicker HOT 24 CLOSED

hacker0x01 avatar hacker0x01 commented on May 13, 2024
IE10 freeze

from react-datepicker.

Comments (24)

seanconnollydev avatar seanconnollydev commented on May 13, 2024

I ran into this with IE 9 and 10 as well. It looks like it was introduced with v0.11 (I was not able to reproduce with v0.10). I verified that this was not caused by my pull request #135. I would appreciate a fix ASAP, I've been waiting on v0.11.

from react-datepicker.

RSO avatar RSO commented on May 13, 2024

I will check it out, however, as of yet I have no way to test in IE, I'll have to look into that as well.

from react-datepicker.

RSO avatar RSO commented on May 13, 2024

I'll have to download an IE11 vm for my mac, so that'll take some time. If somebody else could provide me with a trace/screenshot/whatever it would mean a lot to me!

from react-datepicker.

seanconnollydev avatar seanconnollydev commented on May 13, 2024

There are no errors being console logged as far as I can see. I am attaching a screenshot, the steps to reproduce are:

  1. Open IE
  2. Go to http://cdn.rawgit.com/Hacker0x01/react-datepicker/master/example/index.html
  3. Click the first input field
  4. Select a date
  5. IE locks up, must be shut down

image

from react-datepicker.

RSO avatar RSO commented on May 13, 2024

Fixed in dad57db. @martijnrusschen will do a release. Thanks for reporting!

from react-datepicker.

RSO avatar RSO commented on May 13, 2024

Now I'll have to figure out how to run tests in sauce-labs, and write a test for this in IE!

from react-datepicker.

martijnrusschen avatar martijnrusschen commented on May 13, 2024

Version 0.11.2 has been released!

from react-datepicker.

seanconnollydev avatar seanconnollydev commented on May 13, 2024

Thanks for the quick turn around guys.
On Jul 29, 2015 4:16 AM, "Martijn Russchen" [email protected]
wrote:

Version 0.11.2 has been released!


Reply to this email directly or view it on GitHub
#141 (comment)
.

from react-datepicker.

seanconnollydev avatar seanconnollydev commented on May 13, 2024

I am unfortunately still seeing this issue in IE10. IE9 seems to be working. I was able to reproduce after upgrading locally and on the examples page.

from react-datepicker.

martijnrusschen avatar martijnrusschen commented on May 13, 2024

Debugging here #150, would be cool if we could reproduce these issues in a test.

from react-datepicker.

seanconnollydev avatar seanconnollydev commented on May 13, 2024

It looks like this is still not working in IE10 as of 0.11.3. I unfortunately will not be able to debug until sometime next week but I would really appreciate a fix.

from react-datepicker.

truckingsim avatar truckingsim commented on May 13, 2024

This freezes in IE11 and IE10 in 0.11.4. We've been attempting to debug it to figure out why but haven't gotten anywhere with it yet.

from react-datepicker.

seanconnollydev avatar seanconnollydev commented on May 13, 2024

It looks like IE is handling the input's onChange event in an unexpected way, which is causing an infinite loop when you select a value from the calendar. I made a modification that will fix this. I am not sure if it is the best fix. I cannot initiate a pull request though because I needed to add a hack to our version to fix another IE issue, which is preventing the calendar from closing when you press enter.

See changes made to fix the IE freeze issue:
master...ShipCompliant:66389ec2811168b22bf1d14ba4e2f48fa73393ca

from react-datepicker.

martijnrusschen avatar martijnrusschen commented on May 13, 2024

Thanks for looking into this, I'll see if I can create a PR based on your changes. Would be happy to get this fixed though!

from react-datepicker.

dcousineau avatar dcousineau commented on May 13, 2024

@martijnrusschen @sconno05 try my PR above and let me know if that works for you both (it's working for us)

from react-datepicker.

martijnrusschen avatar martijnrusschen commented on May 13, 2024

@sconno05 Can you confirm, that PR fixed your issues too? I'm happy to merge it if it fixes the IE issues. Thanks @dcousineau!

from react-datepicker.

dcousineau avatar dcousineau commented on May 13, 2024

No problem!

from react-datepicker.

seanconnollydev avatar seanconnollydev commented on May 13, 2024

I pointed our app to https://github.com/croscon/react-datepicker.git, but
the infinite loop was still occurring in IE10.

On Thu, Aug 13, 2015 at 4:33 PM, Daniel Cousineau [email protected]
wrote:

No problem!

https://camo.githubusercontent.com/cb0284baebb09a44f53cb5dc50802394998031c1/687474703a2f2f6d65646961302e67697068792e636f6d2f6d656469612f77547a5053785a4271536f76652f67697068792e676966


Reply to this email directly or view it on GitHub
#141 (comment)
.

from react-datepicker.

martijnrusschen avatar martijnrusschen commented on May 13, 2024

To make sure, did you point it to the correct branch? Looking at his repo, it should be bugfix-ie-infinite-loop

from react-datepicker.

seanconnollydev avatar seanconnollydev commented on May 13, 2024

Good call. Pointing to the correct branch, it does fix our issue.

On Thu, Aug 13, 2015 at 9:01 PM, Martijn Russchen [email protected]
wrote:

To make sure, did you point it to the correct branch? Looking at his repo,
it should be bugfix-ie-infinite-loop


Reply to this email directly or view it on GitHub
#141 (comment)
.

from react-datepicker.

martijnrusschen avatar martijnrusschen commented on May 13, 2024

Cool, lets do this! Thanks for confirming the fix @sconno05

from react-datepicker.

martijnrusschen avatar martijnrusschen commented on May 13, 2024

Released: https://github.com/Hacker0x01/react-datepicker/releases/tag/v0.11.5

from react-datepicker.

dcousineau avatar dcousineau commented on May 13, 2024

from react-datepicker.

martijnrusschen avatar martijnrusschen commented on May 13, 2024

Resolving this, lets reopen if it still occurs! Thanks guys!

from react-datepicker.

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.