Commit Graph

3 Commits

Author SHA1 Message Date
LI ZICHAO
71bac2e85d fix: children components dispose (#399)
* Children components using CascadingParameter add itself to parent component.However, when children components disposed, they are not remove from parent component. For example, when items in checkgroup have changed , it may causes Index was outside the bounds of the array at AntDesign.CheckboxGroup.OnCheckboxChange.To fix these bug, Adding remove function in dispose process is the solution of this commit.

* fix: some exception

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-07-21 23:48:43 +08:00
Brian Ding
e6f8ce66c7 feat(docs): add affixed demo anchor (#366)
* feat(module: anchor): update rendering when childcontent changed

* feat: add affixed demo list

* fix(module: affix): offsettop does not work until scroll to the top

* fix: display title

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-07-16 13:59:56 +08:00
Brian Ding
8c8a2e3a79 feat: add anchor component (#281)
* feat(module: anchor): add component anchor

* feat(module: anchor): add component anchor

* feat(module: anchor): implement OnScroll

* feat(module: anchor): activate anchorlink

* feat(module: anchor): implement basic demo

* feat(module: anchor): implement static demo

* feat(module: anchor): add OnClick & OnChange

* feat(module: anchor): implement demos

* feat(module: anchor): move IAnchor to folder anchor

* fix: click hash link

* feat(module: anchor): improve cascading value & fix active anchor highlight

* feat(module: anchor): cascading root/parent

* fix(module: anchor): highlight active anchor link

* fix: remove duplicated cascading value

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-06-30 22:03:31 +08:00