When compiling the player using react-native and minify enabled the minifier removes (default option) all function names. This leads to an issue using the fullscreen scrolling view:
Compile without (!) --minify
Start fullscreen within provided scrollview => Working
Compile with --minify
Start fullscren within provided scrollview => NOT working
Quickfix: Disable function name mangling inside the minifier node module:
In node_modules/uglifyjs-webpack-plugin/dist/uglify/minify.js
...
function minify(inputCode, inputMap) {
const result = uglify.minify(inputCode, {
keep_fnames: false
...
When compiling the player using react-native and minify enabled the minifier removes (default option) all function names. This leads to an issue using the fullscreen scrolling view:
Compile without (!) --minify
Start fullscreen within provided scrollview => Working
Compile with --minify
Start fullscren within provided scrollview => NOT working
Quickfix: Disable function name mangling inside the minifier node module:
In node_modules/uglifyjs-webpack-plugin/dist/uglify/minify.js