https://code-inspiration.surge.sh Capture snippets of code inspiration. Works offline after your 1st visit. Built with Svelte (migrated from React).
1
stars
0
forks
source link
After page load, clicking to drag causes transform to "reset" or be relative to middle #26
Open
hchiam opened 4 years ago
After page reload, when you click on an idea, transform seems to be set to relative to
<IdeasWrapper>
, but works as expected after that.This might be a quirk with
<Draggable>
fromreact-draggable
. I've already tried to usedefaultPosition
, but not working so far.