Skip to content

Releases: GoogleChrome/dialog-polyfill

January 2021

Choose a tag to compare

@samthor samthor released this 11 Jan 00:49
5033aac
  • Fixes a crash with Shadow DOM
  • Fixes a crash with finding the form submitter in Safari

November 2020

Choose a tag to compare

@samthor samthor released this 12 Nov 08:09
  • 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

Choose a tag to compare

@samthor samthor released this 11 Aug 03:22
  • Fixes TypeScript definitions file issue. No code changes.

August 2020

Choose a tag to compare

@samthor samthor released this 04 Aug 04:41
  • Better support for Shadow DOM
  • Forwards mousedown and mouseup events on backdrop

April 2020

Choose a tag to compare

@samthor samthor released this 10 Apr 14:33
  • 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

Choose a tag to compare

@samthor samthor released this 11 Mar 02:24

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

Choose a tag to compare

@samthor samthor released this 20 Jun 01:59
  • Fixes an issue with IE block scoping of function.

August 2017

Choose a tag to compare

@samthor samthor released this 15 Aug 14:13
  • 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

Choose a tag to compare

@samthor samthor released this 27 Jul 01:16
  • 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

Choose a tag to compare

@samthor samthor released this 14 Feb 05:17
  • Resolves a hard lock in IE11.
  • Fixes a crash in Firefox.