Giter Club home page Giter Club logo

form-js's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

form-js's Issues

Write tests for .clear() methods

Due to time, wasn't able to write unit tests for clear() methods. Within the next hour or so... need this for a release in meantime.

Form.getCurrentValues() should return empty values in IE9

Currently input field class temporarily sets input field's placeholder attribute value as the input's value (blame IE9) to ensure placeholder support for IE9. So when running .getCurrentValues(), it returns the placeholder values.

CSS overflow style not being applied when dropdown options are closed on Safari

  1. Click on dropdown
  2. Select an option
  3. Observe on Safari browser that if overflow:hidden style is applied on the "dropdown wrapper", it does not hide the "dropdown options container" as intended due to the browser not re-rending the element with the new overflow:hidden style.

There is a fix for this in CSS here, but may be useful to implement a JS fix in this package.

Sources:

http://stackoverflow.com/questions/3485365/how-can-i-force-webkit-to-redraw-repaint-to-propagate-style-changes
http://mir.aculo.us/2009/01/11/little-javascript-hints-episode-3-force-redraw/
http://www.phpied.com/rendering-repaint-reflowrelayout-restyle/

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.