about summary refs log tree commit diff
path: root/yarn.lock
diff options
context:
space:
mode:
authorYuto Tokunaga <yuntan.sub1@gmail.com>2018-03-29 03:40:51 +0900
committerEugen Rochko <eugen@zeonfederated.com>2018-03-28 20:40:51 +0200
commit5021c4e9ca78881f5379a18185a46e580b8f2c34 (patch)
treecea3a77e4ee99efc77cf2e3e8b68edf34df01fd3 /yarn.lock
parent4f9136d2d55e1547c84fc394c0e5e1bb259d58d2 (diff)
Add double-tap zoom functionary to `ZoomableImage` (#6944)
add <div.zoomable-image__margin/> to keep margin of the image on zooming
move setting `scrollLeft` and `scrollTop` of container from callback of
`setState` to `componentDidUpdate`
add 'hammerjs' package for touch gesture detection
rewrite `ZoomableImage` using 'hammerjs'
Diffstat (limited to 'yarn.lock')
-rw-r--r--yarn.lock4
1 files changed, 4 insertions, 0 deletions
diff --git a/yarn.lock b/yarn.lock
index a1dd4c694..a306ebf55 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -3092,6 +3092,10 @@ gzip-size@^3.0.0:
   dependencies:
     duplexer "^0.1.1"
 
+hammerjs@^2.0.8:
+  version "2.0.8"
+  resolved "https://registry.yarnpkg.com/hammerjs/-/hammerjs-2.0.8.tgz#04ef77862cff2bb79d30f7692095930222bf60f1"
+
 handle-thing@^1.2.5:
   version "1.2.5"
   resolved "https://registry.yarnpkg.com/handle-thing/-/handle-thing-1.2.5.tgz#fd7aad726bf1a5fd16dfc29b2f7a6601d27139c4"