Releases: GoogleChrome/dialog-polyfill
Releases · GoogleChrome/dialog-polyfill
January 2021
November 2020
- Supports
formmethod
to override/change<form method>
, so e.g., a button could specifically forceformmethod="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
- Fixes TypeScript definitions file issue. No code changes.
August 2020
- Better support for Shadow DOM
- Forwards
mousedown
andmouseup
events on backdrop
April 2020
- 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
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
August 2017
- Works around an issue with older browsers not returning or having the descriptor for
method
onHTMLFormElement
. These browsers might not return "dialog" for method on<form method="dialog">
July 2017
February 2017
- Resolves a hard lock in IE11.
- Fixes a crash in Firefox.