kopia lustrzana https://github.com/wagtail/wagtail
Dispatch resize event to resize Handsontable on initialisation (#10367)
Fixes #10355pull/10369/head
rodzic
d650af3f39
commit
b9f8a6b6c0
|
@ -90,6 +90,7 @@ Changelog
|
||||||
* Fix: When i18n is not enabled, avoid making a Locale query on every page view (Dan Braghis)
|
* Fix: When i18n is not enabled, avoid making a Locale query on every page view (Dan Braghis)
|
||||||
* Fix: Fix initialisation of commenting widgets within StreamField (Thibaud Colas)
|
* Fix: Fix initialisation of commenting widgets within StreamField (Thibaud Colas)
|
||||||
* Fix: Fix various regressions in the commenting UI (Thibaud Colas)
|
* Fix: Fix various regressions in the commenting UI (Thibaud Colas)
|
||||||
|
* Fix: Prevent TableBlock from becoming uneditable after save (Sage Abdullah)
|
||||||
* Docs: Add code block to make it easier to understand contribution docs (Suyash Singh)
|
* Docs: Add code block to make it easier to understand contribution docs (Suyash Singh)
|
||||||
* Docs: Add new "Icons" page for icons customisation and reuse across the admin interface (Coen van der Kamp, Thibaud Colas)
|
* Docs: Add new "Icons" page for icons customisation and reuse across the admin interface (Coen van der Kamp, Thibaud Colas)
|
||||||
* Docs: Fix broken formatting for MultiFieldPanel / FieldRowPanel permission kwarg docs (Matt Westcott)
|
* Docs: Fix broken formatting for MultiFieldPanel / FieldRowPanel permission kwarg docs (Matt Westcott)
|
||||||
|
|
|
@ -174,7 +174,7 @@ function initTable(id, tableOptions) {
|
||||||
// Render the table. Calling render also removes 'null' literals from empty cells.
|
// Render the table. Calling render also removes 'null' literals from empty cells.
|
||||||
hot.render();
|
hot.render();
|
||||||
resizeHeight(getHeight());
|
resizeHeight(getHeight());
|
||||||
resizeWidth(getWidth());
|
window.dispatchEvent(new Event('resize'));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
window.initTable = initTable;
|
window.initTable = initTable;
|
||||||
|
|
|
@ -145,6 +145,7 @@ We hope this new theme will bring accessibility improvements for users who perfe
|
||||||
* When i18n is not enabled, avoid making a Locale query on every page view (Dan Braghis)
|
* When i18n is not enabled, avoid making a Locale query on every page view (Dan Braghis)
|
||||||
* Fix initialisation of commenting widgets within StreamField (Thibaud Colas)
|
* Fix initialisation of commenting widgets within StreamField (Thibaud Colas)
|
||||||
* Fix various regressions in the commenting UI (Thibaud Colas)
|
* Fix various regressions in the commenting UI (Thibaud Colas)
|
||||||
|
* Prevent TableBlock from becoming uneditable after save (Sage Abdullah)
|
||||||
|
|
||||||
### Documentation
|
### Documentation
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue