Coder Social home page Coder Social logo

Comments (3)

tylersticka avatar tylersticka commented on June 23, 2024

Hi @iosulfur,

Sorry to hear you're encountering this issue.

The goal of the innerToggle functionality is to have an inset password visibility toggle with a great touchscreen experience. An unfortunate side effect of this is that the options for changing its relationship to the <input> element are somewhat rigid. Because of this (and the relatively low usability impact and audience for this particular bug), there is a low likelihood we'll be able to address this specific issue for users of IE10 without making the experience worse for everyone else (though we welcome pull requests from folks who are smarter than us when it comes to solving these sorts of problems).

If this issue is a show-stopper for you, I have two recommendations you might consider...

Disabling the functionality for IE10+

Microsoft actually ships their own password visibility toggle in IE10 and up if you're using Windows 8. As long as you are not hiding their controls (see here), you could use the enable option to only activate the plugin for other browsers:

$('#example').hideShowPassword({
  enable: ! isIE // Just an example, insert your own browser detection logic
});

Obviously browser detection is not ideal, but since there's no way to feature detect for the password toggle, I can't see any other way to pull this technique off.

Roll your own solution

The innerToggle is neat, but you don't need it to use the plugin. You can markup and style your own toggle and controls. See the third example in the demo.

from hideshowpassword.

wesleyboar-fka-iosulfur avatar wesleyboar-fka-iosulfur commented on June 23, 2024

Thank you. Disabling it for IE10, and allowing their browser implementation to persist is a feasible solution. I like the plugin, and continue to use it. IE10's behavior is acceptable given the application's market, but I will offer the disabling option to the designer.

Great plugin. Thanks for the support.

from hideshowpassword.

tylersticka avatar tylersticka commented on June 23, 2024

Thanks, @iosulfur !

from hideshowpassword.

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.