Code Monkey home page Code Monkey logo

Comments (15)

just-boris avatar just-boris commented on May 26, 2024

I confirm this issue. The reason may be in the overridden $setViewValue method, because it causing re-update datepicker

          controller.$setViewValue = function () {
            if ( !settingValue ) {
              settingValue = true;
              element.datepicker("setDate", element.datepicker("getDate")); //if delete this line, nothing changes, but bug disappears
              _$setViewValue.call(controller, element.datepicker("getDate"));
              $timeout(function() {settingValue = false;});
            }
          };

from ui-date.

petebacondarwin avatar petebacondarwin commented on May 26, 2024

This is a pain and keeps coming back to bite us. Trouble is if you fix it
for one browser it breaks on another. I am sad to say we might need to put
some IE specific code in there

On 7 May 2013 15:49, Boris [email protected] wrote:

I confirm this issue. The reason may be in the overridden $setViewValuemethod, because it causing re-update datepicker

      controller.$setViewValue = function () {
        if ( !settingValue ) {
          settingValue = true;
          element.datepicker("setDate", element.datepicker("getDate")); //if delete this line, nothing changes, but bug disappears
          _$setViewValue.call(controller, element.datepicker("getDate"));
          $timeout(function() {settingValue = false;});
        }
      };


Reply to this email directly or view it on GitHubhttps://github.com//issues/8#issuecomment-17546918
.

from ui-date.

wesleycho avatar wesleycho commented on May 26, 2024

I'm not able to reproduce this on Windows 8 + IE10 - is there any other information on this?

from ui-date.

OClement avatar OClement commented on May 26, 2024

Just experienced this in IE11/Win7 over here

from ui-date.

jelling avatar jelling commented on May 26, 2024

We're also having this issue. It would be great to have a fix as our users often prefer to type dates.

from ui-date.

JaKXz avatar JaKXz commented on May 26, 2024

Any updates on this?

from ui-date.

alexanderchan avatar alexanderchan commented on May 26, 2024

Sorry I don't have IE10 installed on my machines and just requested a login to modern.ie. @JaKXz can you please give your IE and windows versions and create a small jsbin that has this issue for you as this will help in debugging. PRs are also welcome.

from ui-date.

neeschit avatar neeschit commented on May 26, 2024

Works fine for me on IE11/Win7

from ui-date.

smithdalec avatar smithdalec commented on May 26, 2024

This is happening for me in IE11/Win7 as well

from ui-date.

alexanderchan avatar alexanderchan commented on May 26, 2024

@smithdalec any specific version of ie11? I don't have ie11 yet so my comment before still applies here that a reproduction somewhere would really help and then I can check against a modern.ie vm.

from ui-date.

marcelino-m avatar marcelino-m commented on May 26, 2024

Same issue, all browser ok, but IE 11 fail (Version 11.0.9600.18124).

from ui-date.

marcelino-m avatar marcelino-m commented on May 26, 2024

What is the purpose of line 123 in src/date.js??. Removing this work fine and solve the issue.

from ui-date.

alexanderchan avatar alexanderchan commented on May 26, 2024

@marcelino-m Thanks for digging into that, I believe someone had an issue earlier with the input not focusing after close. If it is sufficient to remove it to fix ie11, we can look at taking it out.

from ui-date.

olakara avatar olakara commented on May 26, 2024

@marcelino-m & @alexanderchan we faced this issue today and removed the statement $element.focus(); .. works fine on IE, chrome and FF..

from ui-date.

alexanderchan avatar alexanderchan commented on May 26, 2024

@olakara thanks for the feedback, the problem is that removing focus will make tabbing between fields stop working. I don't have an easy way off the top of my head to fix both so if anyone has ideas that's great.

I think we will have to remove the focus as suggested though because it is not easy to override this behaviour and if people need to focus they can enhance the onClose option.

from ui-date.

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.