Skip to content

Releases: GoogleChrome/dialog-polyfill

January 2017

24 Jan 22:37
Compare
Choose a tag to compare
  • Moves to MutationObserver and improves catching dialog removals (while continuing to support mutation events for IE10 and below)
  • Detects invalid placements of modal dialogs (within a stacking context), warning the user with console.warn, and tries to allow use anyway
  • Downgrades dialogs that are moved within a page (modal => normal), matching Chrome
  • Fixes an issue where focus was performed before a dialog was shown
  • Fixes an issue where inner non-modal dialogs were unfocusable

November 2016

14 Nov 17:09
Compare
Choose a tag to compare
  • Removes leftover debug messages and additional listener.

July 2016

27 Jul 23:18
Compare
Choose a tag to compare
  • Focuses on show as well as showModal
  • Removed warning from registerDialog where native support exists (forceRegisterDialog will still make loud noise)

February 2016

12 Feb 08:51
Compare
Choose a tag to compare

Fixes issues-

  • Adds a default role to each dialog if unspecified: #63
  • Throw Error objects, instead of strings, on errors: #83
  • Allow unlabeled forms: #77
  • IE9/10 focus fix: #87
  • Support CommonJS and AMD: #84

September 2015

03 Oct 00:33
Compare
Choose a tag to compare

Fixes minor issues-

  • Supports forms inside dialogs without method
  • activeElement element blur sanity-check for IE
  • Fix center alignment if dialog is taller than viewport

September 2015

01 Sep 04:08
Compare
Choose a tag to compare

This is a tiny update just to match NPM's published 0.4.1 version.

August 2015

27 Aug 12:43
Compare
Choose a tag to compare

Since the last release, some highlights-

  • Test suites
  • The open attribute and other state calls use the same backing value
    • open is observed by the browser
  • Better support for <form method="dialog"> and setting returnValue
  • More stable class-based rewrite
  • Limit to number of open modal dialogs
  • Simplified focus blocking
  • Other minor updates to match the W3C spec
    • Default CSS updates for small-screen browsers

Additionally, note that dialogPolyfill.registerDialog is now a noop on browsers with dialog support, such as Chrome. If you'd like to force use of the polyfill (with unpredictable results), please call dialogPolyfill.forceRegisterDialog.

There are still some unresolved issues in IE9/10. We'd appreciate user feedback.

February 2015

11 Feb 03:50
Compare
Choose a tag to compare
Merge pull request #41 from samthor/tag-3

0.3.0 release