Radoš

Results 16 comments of Radoš

**This code handles collision detection and restoration to the last known "safe point" or default position when drag ends (if there is a collison of the elements).** ```js /* This...

@arthurepc Take a look at my example [here](https://github.com/bokuweb/react-rnd/issues/86#issuecomment-1189913903). You can customize it for resize event as it only detects a collision of two elements. Then you can adjust elements with...

@amiut use fork-ts-checker-webpack-plugin version 6.5.0 "If you depend on Webpack 4, TypeScript 2.7 - 3.5.3 or ESLint feature, please use [version 6](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/tree/v6.2.6) of the plugin."

@amiut There might be different issues as I use wpack.io daily. Can you share package.json and the error with fork-ts-checker-webpack-plugin v6.5.0?

@amiut package.json `"@wpackio/entrypoint": "^6.4.0"` ```json "devDependencies": { "@babel/plugin-transform-react-display-name": "^7.16.7", "@typescript-eslint/eslint-plugin": "^5.12.1", "@typescript-eslint/parser": "^5.12.1", "@wpackio/scripts": "^6.4.0", "babel-plugin-transform-react-remove-prop-types": "^0.4.24", "cssnano": "^5.0.17", "eslint": "^8.10.0", "eslint-config-prettier": "^8.4.0", "eslint-plugin-prettier": "^4.0.0", "eslint-plugin-react": "^7.29.2", "fork-ts-checker-webpack-plugin": "6.5.0", "postcss":...

@deeppresentation You can use this inside of the wpackio.project.js ```js webpackConfig: (config, merge, appDir, isDev) => { const customRule = { optimization: { splitChunks: { chunks: "all", cacheGroups: { commons:...

@douglasscriptore Shortcodes are rendered via PHP as regular DOM elements inside WP. You will have to assign those attributes to DOM element, and then you can get them with `document.querySelector`.

@NaotoshiFujita Thanks, that worked, but if I change it to this: ```js { type: "loop", perPage: 4, perMove: 2 } ``` The issue is still the same, not on the...

@NaotoshiFujita Thank you! Appreciate it 🔥