kylefox/jquery-modal

Proposal for jQuery Modal 2.0 ๐ŸŽ‰

kylefox opened this issue ยท 4 comments

It's been several years since this library was first released, and it's starting to feel a bit long in the tooth. It's probably time for a massive revamp (and potentially full rewrite) of jquery-modal so it's a nicer member of the modern JavaScript ecosystem.

Based on the feedback and issues I've seen, here's a list of things that could be addressed for Version 2.0:

  • UNIT TESTS
  • Use latest best practices for jQuery plugin and JavaScript in general
  • Better support for packaging systems (npm, bower, etc)
  • Better build system (src/dist folders, task automation)
  • Support only modern browsers
  • Better mobile support
  • Move as much presentation to CSS as possible (animate.css support)
  • Maybe: Use ES6 and more object-oriented patterns?
  • Maybe: Better compatibility with bootstrap and other popular UI frameworks?
  • Maybe: Official React, Angular, etc. compatibility?

Would love input from others โ€” please leave a comment below!

wzup commented

React implementation would be awesome.
#175

Can we have slide show option? This would be great.

Do you continue to develop version 2.0 ?

having the modal disable tabindexes in main content and focus to modal's input would be awesome (ala https://codepen.io/noahblon/pen/yJpXka )