mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-11-13 12:23:44 +01:00
On touch devices AirDatepicker opens pickers in mobile mode, which closes them through a shared overlay rather than on blur. The library keeps that overlay in its module scope, inside a global container appended to the body. Boosted navigation swaps the body, so the container and overlay are removed: the library notices the missing container and builds a new one for the next picker, but keeps reusing the detached overlay. From then on nothing receives the outside click, and an open picker stays on screen over the form until the page is fully reloaded. Create every picker through a helper that remembers the overlay and moves it back into the current global container whenever it was left detached. Fixes #227
README
This project was created with python-webpack-boilerplate
Available Scripts
In the project directory, you can run:
npm run start
npm run start will launch a server process, which makes live reloading possible.
If you change JS or SCSS files, the web page would auto refresh after the change. Now the server is working on port 9091 by default, but you can change it in webpack/webpack.config.dev.cjs
npm run watch
run webpack in watch mode.
npm run build
production mode, Webpack would focus on minified bundles, lighter weight source maps, and optimized assets to improve load time.