mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-05 01:19:45 +08:00
docs: update docs (#42683)
This commit is contained in:
parent
755598f839
commit
bb77559c45
@ -45,7 +45,7 @@ Please note that Affix should not cover other content on the page, especially wh
|
|||||||
|
|
||||||
### When binding container with `target` in Affix, elements sometimes move out of the container.
|
### When binding container with `target` in Affix, elements sometimes move out of the container.
|
||||||
|
|
||||||
We only listen to container scroll events for performance consideration. You can add custom listeners if you still want to: <https://codesandbox.io/s/2xyj5zr85p>
|
We only listen to container scroll events for performance consideration. You can add custom listeners if you still want to: <https://codesandbox.io/s/stupefied-maxwell-ophqnm?file=/index.js>
|
||||||
|
|
||||||
Related issues:[#3938](https://github.com/ant-design/ant-design/issues/3938) [#5642](https://github.com/ant-design/ant-design/issues/5642) [#16120](https://github.com/ant-design/ant-design/issues/16120)
|
Related issues:[#3938](https://github.com/ant-design/ant-design/issues/3938) [#5642](https://github.com/ant-design/ant-design/issues/5642) [#16120](https://github.com/ant-design/ant-design/issues/16120)
|
||||||
|
|
||||||
|
@ -46,7 +46,7 @@ group:
|
|||||||
|
|
||||||
### Affix 使用 `target` 绑定容器时,元素会跑到容器外。
|
### Affix 使用 `target` 绑定容器时,元素会跑到容器外。
|
||||||
|
|
||||||
从性能角度考虑,我们只监听容器滚动事件。如果希望任意滚动,你可以在窗体添加滚动监听:<https://codesandbox.io/s/2xyj5zr85p>
|
从性能角度考虑,我们只监听容器滚动事件。如果希望任意滚动,你可以在窗体添加滚动监听:<https://codesandbox.io/s/stupefied-maxwell-ophqnm?file=/index.js>
|
||||||
|
|
||||||
相关 issue:[#3938](https://github.com/ant-design/ant-design/issues/3938) [#5642](https://github.com/ant-design/ant-design/issues/5642) [#16120](https://github.com/ant-design/ant-design/issues/16120)
|
相关 issue:[#3938](https://github.com/ant-design/ant-design/issues/3938) [#5642](https://github.com/ant-design/ant-design/issues/5642) [#16120](https://github.com/ant-design/ant-design/issues/16120)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user