# HG changeset patch # User Alain Mazy # Date 1559749439 -7200 # Node ID 847fd11384bc84af56f117441654e1fb387be5ef # Parent 67d0a8da4afecabe06fdd5ab181b3a26406c9e90 don't forbid touchmove anymore at document level. It's a bit rough to re-enable it later i.e in components that needs it (SortableJS in my case). diff -r 67d0a8da4afe -r 847fd11384bc Platforms/Wasm/wasm-application-runner.ts --- a/Platforms/Wasm/wasm-application-runner.ts Mon May 27 22:41:51 2019 +0200 +++ b/Platforms/Wasm/wasm-application-runner.ts Wed Jun 05 17:43:59 2019 +0200 @@ -130,11 +130,6 @@ Logger.defaultLogger.debug("Connecting C++ methods to JS methods - done"); - // Prevent scrolling - document.body.addEventListener('touchmove', function (event) { - event.preventDefault(); - }, { passive: false}); // must not be passive if calling event.preventDefault, ie to cancel scroll or zoom of the whole interface - _InitializeWasmApplication(orthancBaseUrl); }); }