Comments (7)
底层没有宽度控制的。。。children 有多宽就多宽的。。。他可以用 vw 来控制 % 。。。因为他这 % 就相当于窗口的宽度。。。
from drawer.
哦,,陈帅在 antd 里包了个 width。。。。
from drawer.
https://github.com/ant-design/ant-design/blob/master/components/drawer/index.tsx#L155-L157
这个没啥卵用。。写错地方了吧。。 @chenshuai2144
https://github.com/ant-design/ant-design/blob/master/components/drawer/index.tsx#L110
写在这吧。。。。
from drawer.
等我找个时间重新搞一搞
from drawer.
@jljsj33 你可以dimension 加个这个props 这样我的工作量就小了
from drawer.
ant-design/ant-design#11298 已经关了的话就这样吧。
from drawer.
不用再加了。
from drawer.
Related Issues (20)
- compile error HOT 1
- Next.JS server side: Expected server HTML to caontain a matching <div> in <div>
- undefined is not an object (evaluating 'n.startPos.x')
- node_modules/rc-drawer/lib/DrawerWrapper.d.ts(2,13): '=' expected. TS1005 HOT 2
- Make possible to reset drawer scroll position when closed
- Background color for drawer
- Consider the toolbar
- Can't set data-testid on drawer HOT 5
- Demo is out of date
- How do I make the main content slide to the side as well as the drawer?
- 安卓微信内置浏览器内无效 HOT 4
- if `mask` be set as `false`, drawer should not lock body?
- After closing the drawer, the focus of the page disappears making accessibility disappear and I can't use the tab button to move around the page HOT 1
- 6.1.4 版本设置 destroyOnClose 为true后,重新打开,弹窗里的内容没有渲染
- Package.json - wrong licence definition HOT 1
- Bug: ClassName prop is not merged correctly
- Bug: Css is broken on latest major release
- this package license is showing as none in NPM repository
- Bug: getContainer设置指定dom元素后依然是全屏 HOT 2
- Bug: panelRef 似乎获取不到 dom 元素 HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from drawer.