profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/Albert-Gao/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
AlbertGao Albert-Gao Auckland, New Zealand http://www.albertgao.xyz Live to code, code to rock :)

Albert-Gao/feathers-next-example 40

Use feathers with next.js

Albert-Gao/DaggerAndroidKotlinExample 15

A minimal setup for using dagger-android with Kotlin to setup application wide and activity wide dependencies.

Albert-Gao/Fungus-QTE-Command 4

Add an QTE command to fungus games

Albert-Gao/enhanced-create-react-app 3

Added new features to create-react-app without ejecting

Albert-Gao/blog 1

A backup of my static blog

Albert-Gao/D3v4_Playground 1

A data visualization project using D3.js and Semantic UI

Albert-Gao/75cheatsheets 0

程序员/设计师能用上的75份速查表

Albert-Gao/amplify-js 0

A declarative JavaScript library for application development using cloud services.

Albert-Gao/auth0-rules-local-testharness 0

Run Auth0 rules locally for testing and CI

startedmaslianok/react-resize-detector

started time in 2 days

startedblockchain/blockchain-wallet-v4-frontend

started time in 3 days

startedadrianmcli/web3-vs-ethers

started time in 3 days

startedethers-io/ethers.js

started time in 3 days

startedrainbow-me/rainbow

started time in 4 days

startedscaffold-eth/eth-hooks

started time in 4 days

issue commentclauderic/dnd-kit

How to drag by copying?

I think I figure out why, it is because after dragging into the layout, the id is changed, it is not the id when dragging, it's another id, since I need to create a copy of a component...

hmm.. drag from outside by copying.. I think this is the pattern I want to implement.

Albert-Gao

comment created time in 7 days

issue openedclauderic/dnd-kit

How to drag by copying?

Thanks for this great lib! I manage to re-create a POC within 8 hrs, so sweet.

Just 1 question, how to drag by copying?

My Current structure is I am dragging components from left panel to the main panel to create UI, all works, when dragging, I show a <DragOverlay>, after dropping, I added the components to Redux, and render it in the main frame, everything works, just 1 problem.

After dropping, the <DragOverlay> is back to its original position..... So visually, it looks strange, the component is added after dropping, then back to its original position, just like in this example, https://5fc05e08a4a65d0021ae0bf2-hbqxtqukzi.chromatic.com/?path=/story/core-draggable-components-dragoverlay--basic-setup

how to prevent this <DragOverlay> to go back but disappear in place? Thanks :)

created time in 10 days

issue openedgridstack/gridstack.js

How to detect drop on grid children?

I want to drag and drop elements to the already-added-grid-children, anyway to detect it? I am using React.

I tried added the onDrop on the rendered already-added-grid-children, but it never triggers, I think the control has been taken over by the import 'gridstack/dist/h5/gridstack-dd-native'. Anyway I can check dropping on the parent?

created time in 10 days

startedmrousavy/react-native-mmkv

started time in 15 days

startedammarahm-ed/react-native-mmkv-storage

started time in 15 days

startedcoinpride/CryptoList

started time in 16 days

startedmmazzarolo/react-native-universal-monorepo

started time in 16 days

startedAndarius/RNAnimationsv2

started time in 16 days

startedTemzasse/stitches-native

started time in 16 days

startedhuggingface/datasets

started time in 16 days

startedgirliemac/a-picture-is-worth-a-1000-words

started time in 16 days

startedfabricjs/fabric.js

started time in 19 days

startedtbolis/react-sketch

started time in 19 days

startedkonvajs/react-konva

started time in 20 days

startedNoahZinsmeister/web3-react

started time in 20 days

startedPinkyJie/leetcode-patterns

started time in 20 days

startedatlassian/react-beautiful-dnd

started time in 23 days

startedgridstack/gridstack.js

started time in 23 days

startedreact-grid-layout/react-grid-layout

started time in 23 days

startedclauderic/dnd-kit

started time in 23 days

startedtimolins/react-hot-toast

started time in 25 days

startedjohnkerl/miller

started time in 25 days

push eventAlbert-Gao/kids-math-print

Albert Gao

commit sha d3f1d2bd45b96edc98edfcf4f383485f022cdac1

fix: now the window will refresh after saving setting

view details

push time in a month