38 Commits

Author SHA1 Message Date
chenjiahan
6c6ea01599 Merge branch '2.x' into dev 2020-11-15 11:16:02 +08:00
neverland
d78438a899
fix(IndexBar): incorrect behavior inside popup (#7559) 2020-11-15 10:43:12 +08:00
chenjiahan
6a306c332e Merge branch 'dev' into next 2020-10-09 17:55:10 +08:00
neverland
c13b953cff
feat(IndexBar): add change event (#7296)
* feat(IndexBar): add change event

* docs(IndexBar): update event param
2020-10-08 18:56:21 +08:00
chenjiahan
fd92564c27 chore: move useRect to @vant/use 2020-10-05 11:22:30 +08:00
chenjiahan
6cd9e98ce4 chore: move useRelation to @vant/use 2020-09-27 17:46:59 +08:00
chenjiahan
0072f4fe02 chore: expose utils in entry file 2020-09-27 17:11:43 +08:00
chenjiahan
e4b7952061 chore(IndexBar): use relation 2020-09-26 10:53:24 +08:00
chenjiahan
d659c0c99e chore(utils): isHidden support ref element 2020-09-15 19:37:53 +08:00
chenjiahan
1e7e7086d6 chore: rename rootRef to root 2020-09-15 19:32:45 +08:00
chenjiahan
c8d573cbe7 chore(touch): add isVertical/isHorizontal 2020-09-14 20:56:28 +08:00
chenjiahan
ecbaddd5e1 feat(use): add useScrollParent 2020-09-12 22:04:02 +08:00
chenjiahan
a58da5570b refactor(use): adjust useEventListener params 2020-09-12 21:16:44 +08:00
chenjiahan
c2135d4151 chore: use useEventListener 2020-09-12 21:06:11 +08:00
chenjiahan
f94c8ccbb9 refactor(IndexBar): refactor with composition api 2020-09-09 10:20:03 +08:00
chenjiahan
f956d1ab3b feat: migrate IndexBar component 2020-08-17 10:49:27 +08:00
chenjiahan
2fb5cca49a chore: prettier source code 2020-04-02 15:36:02 +08:00
chenjiahan
65bdc75ca6 chore: code review 2020-03-01 20:29:03 +08:00
陈嘉涵
8a679079fb feat: allow string type z-index 2020-01-28 21:34:16 +08:00
陈嘉涵
0011db7536 feat(IndexBar): add @index-bar-index-active-color less var 2020-01-28 15:39:35 +08:00
陈嘉涵
89ee8e3872 feat(IndexBar): add @index-anchor-z-index、@index-bar-sidebar-z-index less var 2020-01-28 12:01:39 +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
陈嘉涵
d9d63959f5 feat: add use-lock-scroll hook 2020-01-13 16:37:27 +08:00
neverland
a154e0683a
fix(IndexBar): incorrect anchor position when anchor doesn't have a parent node (#5429) 2019-12-30 21:46:53 +08:00
Fyerl
7aee4fb9a2 fix(Indexbar): fix some bugs (#5012) 2019-11-14 17:48:37 +08:00
neverland
f6f696ff73
chore: use preventDefault util (#4412) 2019-09-10 17:08:43 +08:00
流采
689a579503 fix(IndexBar): fix the problem of rolling out parent boundaries when sucking bottom (#4218) 2019-08-24 16:01:55 +08:00
流采
3a65004c6f [bugfix]: IndexBar: fix sticky bug (#4184) 2019-08-22 09:41:11 +08:00
neverland
24f5a91cd3
[improvement] add constant of border (#4078) 2019-08-09 14:15:49 +08:00
neverland
4cba618792
[improvement] List: unify text font-size (#4077) 2019-08-09 14:03:19 +08:00
neverland
3a77666e49
[improvement] update lint rules (#3970) 2019-07-26 11:47:17 +08:00
neverland
4d0d54dbf4
[bugfix] IndexBar: should update when index-list updated (#3943) 2019-07-23 20:50:08 +08:00
流采
511087bc74 [bugfix] compatible <body /> is the scene of the scrolling container (#3844) 2019-07-15 19:36:21 +08:00
cesc fabregas
c88bab21c1 [bugfix] IndexBar: activeAnchor bug fixes (#3832)
修复 sticky 设为 false 时activeAnchor失效的bug;
修复 this.scroller 不为 window 时activeAnchor错乱的bug;
2019-07-12 09:49:10 +08:00
neverland
73cec3ac96
[new feature] IndexBar: add sticky-offset-top prop (#3791) 2019-07-09 15:21:47 +08:00
neverland
8a1a186dac
[improvement] IndexBar: add class for active index (#3692) 2019-06-29 11:48:56 +08:00
neverland
75c79b7044
[improvement] rename packages dir to src (#3659) 2019-06-27 11:25:57 +08:00