Skip to content

Releases: GoogleChrome/dialog-polyfill

January 2021

11 Jan 00:49
5033aac
Compare
Choose a tag to compare
  • Fixes a crash with Shadow DOM
  • Fixes a crash with finding the form submitter in Safari

November 2020

12 Nov 08:09
Compare
Choose a tag to compare
  • Supports formmethod to override/change <form method>, so e.g., a button could specifically force formmethod="dialog"
  • Handles <form method="dialog"> inside a Shadow Root (no longer submits the form as if it was a GET)
  • Fixed TypeScript definitions

August 2020

11 Aug 03:22
Compare
Choose a tag to compare
  • Fixes TypeScript definitions file issue. No code changes.

August 2020

04 Aug 04:41
Compare
Choose a tag to compare
  • Better support for Shadow DOM
  • Forwards mousedown and mouseup events on backdrop

April 2020

10 Apr 14:33
Compare
Choose a tag to compare
  • Adds basic support for a dialog inside Shadow DOM.

As the polyfill doesn't insert its own CSS in either SD or regular cases, you'll need to add the CSS to the host.

March 2019

11 Mar 02:24
Compare
Choose a tag to compare

Ships the polyfill as an ES Module.

The NPM-published release now contains both dist/dialog-polyfill.js (as before) and dist/dialog-polyfill.esm.js, which includes export default dialogPolyfill;. See #164 for more information.

This is 0.5.0 because it could break previous users of the 0.4.x branch.

June 2018

20 Jun 01:59
Compare
Choose a tag to compare
  • Fixes an issue with IE block scoping of function.

August 2017

15 Aug 14:13
Compare
Choose a tag to compare
  • Works around an issue with older browsers not returning or having the descriptor for method on HTMLFormElement. These browsers might not return "dialog" for method on <form method="dialog">

July 2017

27 Jul 01:16
Compare
Choose a tag to compare
  • Improved support for <form method="dialog">.
    • The polyfill now has immediate side-effects: it adds support for these types of forms.
  • Resolved an issue with .returnValue not being set correctly.
  • Fixed a bug while not using MutationObserver.

February 2017

14 Feb 05:17
Compare
Choose a tag to compare
  • Resolves a hard lock in IE11.
  • Fixes a crash in Firefox.