mirror of
https://github.com/wagtail/wagtail.git
synced 2024-11-25 05:02:57 +01:00
014ffb5ce9
If the event is dispatched in the loop, then the show event may be dispatched before the hide event is dispatched. For example, if you're switching from the checks panel to the preview panel, as the preview panel is ordered before the checks panel in the DOM. This could cause an issue with the preview panel code, where we listen for the show event to activate the auto update, and listen to the hide event to deactivate it. We're listening to both the preview and checks side panels. Without this fix, the preview auto-update will get deactivated upon switching from the checks panel to the preview panel, as the hide event is dispatched after the show event. |
||
---|---|---|
.. | ||
scss | ||
src | ||
storybook | ||
tests | ||
extract-translatable-strings.js | ||
package-lock.json | ||
README.md | ||
tailwind.config.js | ||
webpack.config.js |
Wagtail client-side components
This library aims to give developers the ability to subclass and configure Wagtail's UI components.
Usage
npm install wagtail
import { Explorer } from 'wagtail';
// [...]
<Explorer />;
Development
# From the project root, start the webpack + styles compilation.
npm run start
You will also need:
- React DevTools – React developer tools integrated into Chrome.
- Redux DevTools – Redux developer tools integrated into Chrome.
Releases
The front-end is bundled at the same time as the Wagtail project. This package also aims to be available separately on npm as wagtail
.