56 Commits

Author SHA1 Message Date
chenjiahan
cfb16668ca test(ImagePreview): update test cases 2020-11-14 08:38:44 +08:00
chenjiahan
971c16eb3c chore: rename usePublicApi to useExpose 2020-09-15 20:19:15 +08:00
chenjiahan
1607aa8ba7 chore(ImagePreview): use useWindowSize 2020-09-14 17:54:51 +08:00
chenjiahan
ea846033f7 fix(ImagePreview): failed to drag image 2020-09-14 17:41:41 +08:00
chenjiahan
6ab2b3bf1f refactor(ImagePreview): refactor with composition api 2020-09-14 17:36:58 +08:00
chenjiahan
d58777d562 Merge branch 'dev' into next 2020-09-10 16:44:24 +08:00
neverland
3dddeaa7a3
fix(ImagePreview): incorrect move range in some cases (#7142)
* fix(ImagePreview): incorrect move range in some cases

* chore: remove inBrowser

* test(ImagePreview): fix failed case
2020-09-09 17:59:59 +08:00
chenjiahan
89a39f05bc breaking change(ImagePreview): remove asyncClose and add beforeClose 2020-09-06 10:31:14 +08:00
chenjiahan
3a290ce564 feat: migrate ImagePreview component 2020-08-17 10:38:11 +08:00
neverland
41d4f9c160
feat(ImagePreview): enable close-on-popstate by default (#6875) 2020-07-25 15:01:40 +08:00
neverland
ebb964aed8
fix(ImagePreview): fit orientationchange (#6825)
* fix(ImagePreview): fit orientationchange

* chore: remove log
2020-07-20 22:41:26 +08:00
neverland
3748ab646c
feat(ImagePreview): fit window resize (#6760)
* feat(ImagePreview): fit window resize

* fix(ImagePreview): incorrect max move
2020-07-11 11:25:57 +08:00
neverland
2816c0ff8a
fix(ImagePreview): should reset scale when hide (#6661) 2020-07-01 12:55:30 +08:00
chenjiahan
e93bec677e fix(ImagePreview): scale event param 2020-06-30 15:01:01 +08:00
chenjiahan
2d89a6ed9a refactor(ImagePreview): add ImagePreviewItem 2020-06-30 15:01:01 +08:00
chenjiahan
489dde2114 chore(ImagePreview): fix demo error 2020-06-22 20:52:58 +08:00
来铧敏
bd1279bc7d
feat(ImagePreview): add swipeTo method (#6596) 2020-06-22 20:47:04 +08:00
neverland
5b2f13311c
fix(ImagePreview): incorrect drag area (#6574) 2020-06-19 11:24:12 +08:00
neverland
e01699a74b
fix(ImagePreview): image blurred after scale on iOS (#6496) 2020-06-09 22:42:16 +08:00
neverland
7102129601
fix: incorrect vnode order in some cases (#6140) 2020-04-26 21:40:44 +08:00
neverland
50a4dc681c
feat(ImagePreview): adjust double-click interval to 250ms (#6136) 2020-04-26 14:00:41 +08:00
neverland
456fc99017
feat(ImagePreview): support local registration (#6031) 2020-04-11 10:57:44 +08:00
chenjiahan
2fb5cca49a chore: prettier source code 2020-04-02 15:36:02 +08:00
chenjiahan
e078480420 chore(ImagePreview): remove lazy-load since lazy-render is enabled 2020-03-22 15:59:18 +08:00
chenjiahan
7ac85868dc feat(ImagePreview): enable swipe lazy-render (#5879) 2020-03-22 15:53:15 +08:00
chenjiahan
3bd9ef1d4c chore(ImagePreview): improve watcher 2020-03-22 07:26:00 +08:00
chenjiahan
5b279ab0dc feat(ImagePreview): add closed event 2020-03-19 19:57:04 +08:00
landluck
9ff8e5635c
feat(ImagePreview): add scale event (#5658) 2020-02-14 17:21:13 +08:00
landluck
85a3707202
feat(ImagePreview): add closeable prop (#5654) 2020-02-14 14:47:21 +08:00
陈嘉涵
e6bd26e0aa types(utils): improve isDate typing 2020-02-01 09:51:31 +08:00
陈嘉涵
1baa60f224 fix(ImagePreview): limit max-zoom when double clicking 2020-02-01 09:46:23 +08:00
陈嘉涵
43e9df1550 feat(ImagePreview): some props can be string 2020-02-01 09:43:59 +08:00
陈嘉涵
bb53c3c758 chore: sort imports 2020-01-19 19:29:30 +08:00
陈嘉涵
389d68884d chore: add trailingComma 2020-01-19 11:57:09 +08:00
陈嘉涵
5fff24cee8 chore(ImagePreview): optimize event binding 2019-12-31 14:23:53 +08:00
陈嘉涵
b66597621c fix(ImagePreview): avoid Vue 2.6 event bubble issues 2019-12-31 14:23:53 +08:00
陈嘉涵
b844a038fa perf(ImagePreview): improve render perf 2019-12-31 14:23:53 +08:00
neverland
8dea26db95
fix(ImagePreview): close event triggered twice (#5411) 2019-12-28 08:43:57 +08:00
neverland
93e6c81c49
fix(ImagePreview): should not emit close event after tapped when using async-close (#5410) 2019-12-28 08:09:24 +08:00
neverland
f4f88c5254
fix(ImagePreview): missing swipeDuration type definition (#4968) 2019-11-09 15:57:26 +08:00
neverland
9033a968ec
feat(Popup): add close-on-popstate prop (#4845) 2019-10-26 15:31:45 +08:00
neverland
dc964ac068
feat(ImagePreview): add cover slot (#4766) 2019-10-18 10:30:19 +08:00
neverland
321905a4b7
fix(ImagePreview): should not close when click index (#4764) 2019-10-17 21:07:15 +08:00
neverland
3fcb839719
fix(ImagePreview): remove ununsed code (#4748) 2019-10-16 17:03:28 +08:00
7115066
df59c58ffc fix(ImagePreview):Issues #4391 ImagePreview缩放不跟手 (#4477) 2019-09-18 10:56:32 +08:00
neverland
b4371a52d4
perf: add transition-property (#4389) 2019-09-06 19:50:12 +08:00
neverland
3f8ffccb36
feat(ImagePreview): add image loading tip (#4378) 2019-09-05 17:48:08 +08:00
neverland
9adf00b8a1
fix(ImagePreview): should emit change event when reset to start position (#4320) 2019-09-02 12:35:44 +08:00
neverland
db7a91d066
fix(ImagePreview): should reset scale after toggle (#4319) 2019-09-02 11:51:20 +08:00
Jake
234e64238e [bugfix] ImagePreview: Image beyond the screen height cover index (#4002) 2019-07-30 14:59:57 +08:00