From 8615e3a5d24ae6a56f430f3ed21a8c0290bf1205 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8C=E8=B4=A7=E6=9C=BA=E5=99=A8=E4=BA=BA?= Date: Thu, 16 Mar 2023 11:19:30 +0800 Subject: [PATCH] chore: ignore body rect --- docs/demos/body-overflow.md | 8 +++++ docs/examples/body-overflow.tsx | 63 +++++++++++++++++++++++++++++++++ src/hooks/useAlign.ts | 4 +++ 3 files changed, 75 insertions(+) create mode 100644 docs/demos/body-overflow.md create mode 100644 docs/examples/body-overflow.tsx diff --git a/docs/demos/body-overflow.md b/docs/demos/body-overflow.md new file mode 100644 index 00000000..6f6f9c48 --- /dev/null +++ b/docs/demos/body-overflow.md @@ -0,0 +1,8 @@ +--- +title: Body Overflow +nav: + title: Demo + path: /demo +--- + + \ No newline at end of file diff --git a/docs/examples/body-overflow.tsx b/docs/examples/body-overflow.tsx new file mode 100644 index 00000000..a1f8b4e8 --- /dev/null +++ b/docs/examples/body-overflow.tsx @@ -0,0 +1,63 @@ +/* eslint no-console:0 */ +import Trigger from 'rc-trigger'; +import React from 'react'; +import '../../assets/index.less'; + +export default () => { + return ( + +